python 3.5 – Print type of variable in python3.5 on django 1.8

python 3.5 – Print type of variable in python3.5 on django 1.8

print in Python 3 is no longer a statement, but a function. You need to call it using parentheses:

print(type(x))

python 3.5 – Print type of variable in python3.5 on django 1.8

Leave a Reply

Your email address will not be published.