Day 1
Python Setup & Basics
Get Python running on your computer and write your first program.
Theory — Hour 1
What is Python?
- Python is a simple, readable programming language used by beginners and professionals worldwide.
- Created by Guido van Rossum in 1991. Easy to learn, powerful enough for production apps.
- Used by companies like Google, Netflix, Spotify, and NASA.
Why Learn Python?
- Clean, beginner-friendly syntax — focus on logic, not complexity.
- Huge libraries for AI, data science, web development, and automation.
- One of the most in-demand programming languages in 2024.
Installation & Environment
- Download Python from python.org (3.10+ recommended).
- Verify installation: open terminal/cmd and type 'python --version'.
- Use a code editor: VS Code, PyCharm Community, or Thonny for beginners.
Your First Program
- print() function outputs text to the screen.
- Comments start with # — explain your code.
- Indentation matters in Python — it defines blocks of code.
Your first Python program
# This is my first Python program
print('Hello, World!')
print('Welcome to Python!')
name = 'Sudhar'
print('Hi, ' + name)Practical — Hour 2
- Install Python and verify it works by running 'python --version' in terminal.
- Write a program that prints your name, age, and city on separate lines.
- Use comments to explain what each line does.
Key Takeaways
- Python is simple, readable, and powerful — perfect for beginners.
- Always verify your installation works before starting projects.
- Use comments to explain your code; future-you will thank present-you.