print pytohn code example Example 1: how to print in python print("hello world") Example 2: how to print in python print("Your message")