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...
https://stackoverflow.com/questions/6182964/why-is-parenthes...
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Hello, world!")?