Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
quotehelp1829
· 3y ago · 0 comments
You forgot space between } and {
Comments
[–]
jasonhansel
3y ago
It depends on whether you want the whitespace or not; if so, the ideal would be to use:
messages = [YOU, FART] print(" ".join(messages)
So that you can add additional messages (manually or programmatically) in the future. Always important to consider extensibility!