print method in python in single line code example Example: print line in python # hello world in python print("Hello World!")