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))

Leave a Comment

tech