Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Faggot detected!

Name: Anonymous 2009-01-22 20:56

Okay so I've am about to put my toes in the pool that is programing, I bought a Python instructional guide and downloaded 3.0 but upon typing the "Hello World!" program it says I have a invalid syntax.  I'm thinking it has something to do with my OS (Vista), Should I try to switch OS's? I'm not necessarily computer illiterate but I have a fuck load to learn obviously, thanks for any help

Name: Anonymous 2009-01-22 21:07

One change in Python 3 is that print now requires parentheses:

Old style, Python 1 and 2:
    print "Hello, world!"
New style, Python 3:
    print("Hello, world!")

It's disappointing that you got tripped up by Python 3 on your first Hello World, but I promise the rest of your experience will be smoother.

Name: Anonymous 2009-01-22 22:12

Shit like this is why Py3k is fucking dumb.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List