Re:Why Python keeps growing, explained
by jherskovic on Friday March 03, 2023 @08:21AM
(#35009212)
The antigravity part is probably a reference to https://xkcd.com/353/
[ Parent
| on HN ]
Re:Why Python keeps growing, explained
by wodenokoto on Friday March 03, 2023 @09:17AM
(#35009901)
It _is_ a reference to https://xkcd.com/353/, quite literally, as importing the module opens that link.
> 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...