CHOAALA

๐Ÿ”ฐ Introduction:

The current image has no alternative text. The file name is: IMG_20250713_232053_1_edit_46097611401299-scaled.jpg

In today’s digital world, programming has become almost as essential a skill as reading and writing. It’s not just for programmers; it benefits entrepreneurs, designers, engineers, and even students.
If you’re a complete beginner, don’t worry! In this series, we’ll start step-by-step with Python, a programming language that’s easy to read and understand.

โœ… Why Python in particular ?

Easy to learn and read
Python is similar to English, making it ideal for beginners.

Popular and in-demand
Used in artificial intelligence, web development, data analysis, gaming, and more.

Huge and supportive community
Thousands of free lessons and libraries, and ongoing online support

๐Ÿ› ๏ธ Preparing Your Work Environment

  1. Download Python

Go to the official website: https://www.python.org/downloads
and download the appropriate version for your system (Windows/macOS/Linux).

โœ… Make sure to enable the “Add Python to PATH” option during installation.

  1. Open a code editor

The easiest editor for beginners is:

IDLE: It comes with Python.

Or you can use Visual Studio Code:
https://code.visualstudio.com

๐Ÿ‘จ๐Ÿ’ป Your First Program: Hello, World !

Open IDLE or VS Code and type the following code:

python
print(“Hello, World!”)

๐Ÿ“Œ This code simply prints a message to the screen. Congratulations! You’ve created your first program.

๐Ÿ“š Basic Concepts in Python

  1. Variables:

python
name = “Ali”
age = 25
name and age are variables.

= means “assign value”.

  1. Data Types :

Type Example
String (str) “Ali”
Integer (int) 25
Float (float) 3.14
Bool (bool) True, False

๐Ÿงช Simple Exercise :

Write a code that asks for your name and age and then prints a welcome message:

python
name = input(“What is your name?”)
age = input(“How old are you?”)
print(“Hello, ” + name + “! Your age is ” + age + ” years.”)
๐ŸŸก Note: input() is used to input data from the user.

๐Ÿง  Additional Challenge :

Modify the program to calculate how many years you have left until you reach 100:

python
age = int(input(“How old are you?”))
years_left = 100 – age
print(“You have ” + str(years_left) + “1 year left until you reach 100!”)

๐Ÿ“ Conclusion :

Programming isn’t as difficult as you thought.

Python is a fun and ideal language for beginners.

You learned how to write simple code using print() and input().

๐Ÿ“Œ What will we learn in Lesson 2?

In the next lesson, we’ll learn more about data types and how to write code with logical interaction using conditional statements.

โฌ‡๏ธ Download GoldiptvPro ุชุญู…ูŠู„ Server 1

Related Posts

FivG_Pro

๐Ÿ”ฐ What Is a Function? A function is a reusable block of code that performs a specific task.Instead of repeating code, we can write it once and call it whenever…

Read more

Show7_Pro

๐ŸŸข Lesson 6 โ€“ Intermediate Level ๐Ÿ”ฐ What Is a Module? A module is simply a Python file (.py) containing code (functions, variables, classes) you can reuse in other programs….

Read more

GoldiptvPro

๐ŸŸข Lesson 5 โ€“ Intermediate Level ๐Ÿ”ฐ What Are Exceptions? An exception is an error that occurs during the execution of a program.If not handled, it will stop the program…

Read more

Domingo

๐ŸŸข Lesson 4 ๐Ÿ”ฐ What Is OOP? Object-Oriented Programming (OOP) is a programming style where you organize code into objects that contain: Python supports OOP using: ๐Ÿงฑ Example: Why Use…

Read more

SHARK_PRO

๐Ÿ”ฐ What Is File Handling? ๐ŸŸข Lesson 3 File handling lets your Python programs interact with files on your computer โ€” read data from them or save data to them….

Read more

ZinaTv

๐ŸŸข Lesson 2 โ€“ Intermediate Level ๐Ÿ”น Python Dictionaries: Storing and Accessing Key-Value Data ๐Ÿ”ฐ What Is a Dictionary? A dictionary in Python is a data structure that stores data…

Read more