python3 how to print code example Example 1: print python print('Hello, world!') Example 2: print python 3 a = 3 print(a)