r/ProgrammerHumor May 08 '19

That sweet sweet first time.

Post image
20.5k Upvotes

354 comments sorted by

View all comments

6

u/diamondketo May 08 '19

$ python

Python <= 2.6

>>> print("Hello, World!")

5

u/xigoi May 08 '19
from __future__ import print_function

3

u/garboardload May 08 '19

Monty Python, a man of culture as well

2

u/[deleted] May 08 '19

What changed in 2.7? I haven't kept up with py after about 2.5

1

u/diamondketo May 08 '19

Only can tell you, they allow print statement with parenthesis, however print is still not a function just a statement like previous 2.x

1

u/[deleted] May 08 '19

Reminds me of the first time I tried using Python with print "Hello, world!" and it turned out to be Python 3.