In this program I have used Spyder to write the program and you can see I have used Python’s inbuilt print() function to print the text Hello World on screen. Only we need to write the text in double quotes using print function.
#Program to print Hello World in Screen print("Hello World")
The output is as below.
Output: Hello World
I hope you understood how to write Hello World program in python.
Enjoy Python! Happy Blogging!