Python - Installation and running a first python program - Running 1st Hello World Python Program Tutorial
To run Hello World program Open IDLE of a python. By directly searching (“IDLE”) in the Window Search Bar.
Or
Go to the location where python is installed and run an IDLE
This will open IDLE, and write your first “Hello World” program in idle i.e print(“Hello World”) and press enter
This is an interactive prompt where Python statements are run by run. It is preferable in the case where we are concerned about the output of each line.
But, to run the whole program at a time we can go to File -> New File.
It will open an empty unnamed file, Write your program of multiple lines
i.e
print("hello world");
print("hello fresherbell");
print("hello python");
Save the file using anything you want. Then Click on Run->Run module or F5.
It will give you the correct output