The print function code example Example 1: print python print('Hello, world!') Example 2: print function python print("Hello World")