different ways to print python code example Example 1: print in python print("hello world") Example 2: print in python print("Text")