Python print was a keyword in Python 2.7 but has been turned into a built-in function in Python 3+ and no longer appears in the list of keywords.
Check here: Python Keywords | Infographic
Print a keyword in Python
Let’s try printing a print function and its type.
print(print())
print(type(print()))
Output:
Do comment if you have any doubts or suggestions on this Python keyword topic.
Note: IDE: PyCharm 2021.3.3 (Community Edition)
Windows 10
Python 3.10.1
All Python Examples are in Python 3, so Maybe its different from python 2 or upgraded versions.