This is the basic program to start learning any new programming.

print(“Hello World”)

Save the filename with hello-world.py

Output: Hello World

Here I have used spyder IDE to run python program. You can use IDLE or any other editor to write/run program.

Now you got to know how to write Hello World program in python.

Enjoy Python!