python program to print the value of a variable code example Example: print variable python str1 = "Hello World" print(str1)