Day 1 - Introduction to Python and Basics
Understanding Python
- What is Python?
- Why is Python so popular? (Real-world applications: AI, Web Development, Automation)
- Comparing Python with other languages (C, Java, JavaScript)
Setting Up Python
- nstalling Python and an IDE (VS Code / PyCharm / Jupyter Notebook)
- Writing and running the first Python program:
print("Hello, World!")
Python Basics
- Variables and Data Types (int, float, string, boolean)
- Real-life Example: Saving data in a mobile app (name, age, login status)
User Input and Output
- Taking user input with
input()
- Displaying output using
print()
- Example: Asking a user for their name and greeting them
Operators in Python
- Arithmetic Operators (+, -, *, /, %, **)
- Comparison Operators (>, <, ==, !=)
- Example: Calculating total bill after discount in a shopping app