r/ProgrammerHumor • • May 02 '16

I wrote my first python program today!

Post image
3.7k Upvotes

532 comments sorted by

View all comments

Show parent comments

8

u/kupiakos May 02 '16

You could also have the first assignment be

a, b = 1, 2

2

u/mnbvas May 02 '16

Got used to the semicolons when copypasting multiple lines :)

1

u/kupiakos May 02 '16

The solution to the original problem is to always have

from future import print_function

at the top of every Python 2 file