1. What is Python?
Python is a super beginner-friendly programming language. It's used for building websites, automating tasks,
analyzing data, making games, and even working with AI. It has a clean and readable syntax, which makes it
great if you're just getting started.
2. Your First Line of Code
print("Hello, World!")
This just tells Python to display the message. Simple, right?
3. Variables & Data Types
Think of variables as boxes where you store stuff:
name = "John" # string
age = 21 # integer
height = 5.9 # float
is_student = True # boolean
Python figures out the type on its own.
4. Taking Input From the User
Want to ask the user for their name?
name = input("What's your name? ")
print("Hi", name)
5. Basic Math & Operators
Python can do math too: