new line in print code example Example 1: print new line python print("\n") Example 2: new line print python print("Hello World\n" "This is the second line")