Guide
Who This Guide Is For
Complete beginners with no programming experience
Students learning programming for the first time
Future web developers, data analysts, and software engineers
Chapter 1: What is Python?
Python is a high-level programming language known for its simple syntax and
readability.
Why Learn Python?
Easy to learn
Used in AI and Machine Learning
Web Development
Automation
Data Science
Game Development
First Program
print("Hello, World!")
How It Works
print() displays text on the screen.
Strings are enclosed in quotation marks.
Chapter 2: Variables
Variables store data.
name = "John"
age = 18
height = 1.75
Exercise
Create variables for:
Your name
Your age
Your favorite subject
, Chapter 3: User Input
name = input("Enter your name: ")
print("Hello", name)
Exercise
Ask the user for:
Name
Age
Country
Display a personalized greeting.
Chapter 4: Data Types
name = "John" # string
age = 18 # integer
height = 1.75 # float
student = True # boolean
Exercise
Create one variable of each type.
Chapter 5: Operators
a = 10
b = 5
print(a + b)
print(a - b)
print(a * b)
print(a / b)
Challenge
Create a program that calculates the area of a rectangle.