print in python 2.7 code example
Example 1: print in python 2
# Print is a keyword in python2, so it works more like this
print ""
# Also like this
print 1+1
Example 2: print python 3
a = 3
print(a)
# Print is a keyword in python2, so it works more like this
print ""
# Also like this
print 1+1
a = 3
print(a)