Today, Python is considered one of the most popular programming languages in the world, with a large number of its fans every year. Those who want to learn this language most often begin by writing the simplest first program - displaying the phrase Hello, World on the screen. This is considered a good tradition of programmers around the world. Let's take a detailed look at how to write Hello, World! in Python.

Installing Python
Before you write your first program, you need to make sure that the necessary software is installed and configured on your computer in order to get started.
You will need to install Python on your computer. This article will describe the installation method for the Windows operating system.
You will need to go to the official website dedicated to the Python language (you can see it by typing the appropriate query in any search engine) and download the installer from the main page.
After the download is complete, run the installer and follow the simple instructions on the screen. No need to change or removeany of the items proposed, if you are just starting to learn the language, the program will suggest the best option.
In a couple of minutes, the installation will be completed, and everything you need will appear on your computer to write Hello, World in Python.
Writing a program
Now you will need to launch the special development environment that is already pre-installed on your computer, if the previous step was completed correctly.
Go to the "Control Panel" and type IDLE in the search box. You will immediately see IDLE (Python GUI) available for selection. Run this program.
In the window that opens, select "File" from the top menu, open a new window (New Window).
In front of you on the screen you will see an editor in which you will need to write the following code:
print "Hello, World!"
The result will need to be saved to a separate file. Let's call it, for example, hello.py.
Now you can look at what happened. To do this, select Run in the top menu of the development environment where the code is written, then select Run Module from the drop-down list. The second way to run the finished program is even easier, just press the F5 key.
After the indicated actions are completed, a window will open in which the corresponding inscription will be displayed. This means that the program was written correctly and processed successfully.

Working on bugs
If some inaccuracy is made in the code, the program will not be able tostarted, in which case an error will be displayed. For example, one misspelled letter will display a window with the inscription Syntax error.
At the same time, it will be very easy to correct the inaccuracy, Python will show exactly where the code was written incorrectly.
So now we figured out how to write Hello, World in Python on Windows. This can be considered a successful first step towards learning to code.