python print basics code example Example 1: how to print in python print("hello world") Example 2: how to print python print("Hello World")