Welcome to the Treehouse Community
Looking to learn something new?
Python - Workspaces & Atom returning slightly different formatting
I recently installed Atom locally and am doing some of my practice work there. I noticed that Atom is displaying a slightly different result than workspace for the same line of code. Any ideas?
print("What is 3 + 2?", 3 + 2)
When I run the program in Workspaces, this shows:
What is 3 + 2? 5
When I run the program in Atom, this shows:
('What is 3 + 2?', 5)
Depending on the version of Python you have installed locally, the print method requires a parenthesis or not. In workspaces
print "Hello World" will not work, while in your computer it might.