print output on python code example Example 1: how to print a string in python print("Insert your message here.") Example 2: print python 3 a = 3 print(a)