python print import code example Example 1: print python print('Hello, world!') Example 2: print() print("this is the print function!")