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