Your first Python program in 10 minutes
Install Python, write your first program and get to know variables. A step-by-step guide.

Contents
Python is one of the easiest programming languages to learn. Below we walk through the path to writing your first program.
Step 1: Install Python
Download the latest version from the official python.org website. During installation, enable the Add Python to PATH option.
Step 2: Your first program
1print('Salom, dunyo!')
Save the file and run the python salom.py command in the terminal.
Step 3: Variables
1ism = input('Ismingiz: ')2yosh = int(input('Yoshingiz: '))34print(f'Salom, {ism}! Keyingi yil siz {yosh + 1} yoshda bo‘lasiz.')
Congratulations! You have used data input, variables and formatted output.
Next steps
- Conditional statements (if/else)
- Loops (for, while)
- Functions


