print a variable in python 2.7 code example Example: print variable python str1 = "Hello World" print(str1)