python 3.6 print syntax code example Example 1: python print # This is a print statement print("Hello, world!") Example 2: print python 3 a = 3 print(a)