Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Hello world is just `print "Hello, world!"`

SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Hello, world!")?



That's because that issue of the webcomic is like 15 years old. It was true of the version of Python which was current at the time:

https://stackoverflow.com/questions/6182964/why-is-parenthes...


Yes, I know. But some people still have the reflex from Python 2 and feel bitter when the error message says "I know what you want, and I'm not giving it to you."




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: