print ‘Hello, World!’
Welcome to the Python community, @Calistus !
We’re glad you have chosen to learn Python. However, you seem to be studying Python 2, which is obsolete. Since Python 3 was introduced, print
has been a function, which would require your code to be upgraded as follows:
print('Hello, World!')
It is highly recommended that you learn Python 3.13 in order to derive the best benefit from your efforts.
Best of success to you!
1 Like
The Python Tutorial — Python 3.13.1 documentation is actually surprisingly useful (given that default tutorials are usually not that good), I am not the only user who learned my Python (yes, version 1.5, a long time ago) from it.
2 Likes