Congratulations on taking your first step toward learning Python! In this tutorial, we will go over the steps you need to take to run your first Python program on a Windows machine.
Before you start, you will need to make sure that you have Python installed on your machine. If you don't already have Python installed, you can download it from the official Python website.
Or You can follow this tutorial
How to install Python on Windows
Once you have Python installed, you are ready to start writing your first program. Here are the steps you need to follow:
IDLE (which comes with Python), PyCharm, VS Code, or Sublime Text.print("Hello, World!")Now
"hello.py" file by using the "cd" command. For example, if you saved the file on the Desktop, you would type "cd Desktop" to navigate to the Desktop.Run the script by typing the following command:
python hello.pyIf everything is set up correctly, you should see the message "Hello, World!" printed in the command prompt window.