Explain the rules of the game. #
For this program, we will create a simple guessing game. The rules of the game are that the computer will randomly select a number between 0 and 100, and the player's goal is to guess the number with the fewest number of tries.

Example of the game we will create
Creating a folder for the program #
First, open the VSCode program that we installed earlier. Click on File, and Open Folder. Then, create a new folder and name it guess-the-number or any other name you want, and click Open.
After creating the folder, the Explorer bar with the name of the newly created folder will appear on the left-hand side of the screen, as shown in the example below.

After that, right-click in the Explorer area and select New File... to create a new file. Name the file game.py and make sure to use the file extension .py to let the program understand that the created file is a Python file.

How to run Python code through VSCode #
Once the file is created, enter the code below in the newly created file. Save the file and click on the arrow pointing downwards on the right-hand side of the triangle in the top right corner of the screen. Then select Run Python File to run the code.
print("Hello World!")

How to Run Code through Terminal #
In addition to running code through VSCode, the general way to run a file is through the terminal, which can also be done through the VSCode program. To do this, select Terminal from the top bar of the screen and choose New Terminal. The program will open a Terminal window at the bottom of the screen. Then type the command python game.py or python3 game.py to run the file we created.
$ python game.py
Hello World

Example of running code through Terminal
If "Hello World!" appears at the bottom of the screen, as per the code we wrote, it indicates that we have installed everything correctly and are ready to create games in this topic. If you see cannot run the program and see an error message No such file or directory, try running the command pwd and check if you are in the right folder.
Getting Started with Python
Data Types
Python Functions
Statements in Python
Basic Debugging in Python
Basic Algorithm
Object-Oriented Programming
Error Handling
Intermediate Algorithm
Python Modules