Python program to print Hello world! – First program
In this tutorial, I will show you how to create your first Python program to print Hello world!
Hello world program in Python
print('Hello, world!')
Output:
Hello, world!
How to print hello world in other ways:
print("hello, world!") print(r"Hello, world!")
Output:
Output:
hello, world! Hello, world!
We can use all of the above methods to print Hello, world!
Leave a Reply