33👍
✅
print
in Python 3 is no longer a statement, but a function. You need to call it using parentheses:
print(type(x))
👤knbk
Source:stackexchange.com