🐍 30-Day Python Course Notes (Beginner to Intermediate)
🐍 30-Day Python Course Notes (Beginner to Intermediate)
📅 WEEK 1: Python Basics
Day 1: Introduction to Python
- What is Python?
- Applications (Web, AI, Automation, Data Science)
- Install Python & IDE (VS Code / IDLE)
- First Program:
print("Hello World")Day 2: Variables & Data Types
- Variables
- Data types: int, float, str, bool
x = 10
name = "Rohith"Day 3: Input & Output
name = input("Enter your name: ")
print("Hello", name)Day 4: Operators
- Arithmetic (+, -, *, /)
- Comparison (>, <, ==)
- Logical (and, or, not)
Day 5: Conditional Statements
age = 18
if age >= 18:
print("Adult")
else:
print("Minor")Day 6: Loops (for, while)
for i in range(5):
print(i)Day 7: Practice + Mini Project
- Number guessing game
📅 WEEK 2: Data Structures
Day 8: Lists
nums = [1, 2, 3]
nums.append(4)Day 9: Tuples
t = (1, 2, 3)Day 10: Sets
s = {1, 2, 3}Day 11: Dictionaries
student = {"name": "Rohith", "age": 25}Day 12: Strings
- Slicing, methods
text = "Python"
print(text[0:3])Day 13: List Comprehension
squares = [x*x for x in range(5)]Day 14: Practice + Project
- Student record system
📅 WEEK 3: Functions & Modules
Day 15: Functions
def add(a, b):
return a + bDay 16: Function Arguments
- Default, keyword arguments
Day 17: Lambda Functions
square = lambda x: x*xDay 18: Modules & Packages
import math
print(math.sqrt(16))Day 19: File Handling
file = open("test.txt", "w")
file.write("Hello")
file.close()Day 20: Exception Handling
try:
x = int(input())
except:
print("Error")Day 21: Practice + Project
- File-based contact manager
📅 WEEK 4: Advanced Topics + Projects
Day 22: OOP Basics
- Class & Object
class Person:
def __init__(self, name):
self.name = nameDay 23: Inheritance
class Student(Person):
passDay 24: Polymorphism & Encapsulation
Day 25: Working with Libraries
- random, datetime
Day 26: Intro to APIs
import requestsDay 27: Basic GUI (Optional)
- Tkinter basics
Day 28: Project 1
- Calculator App
Day 29: Project 2
- To-Do List App
Day 30: Final Project
Choose one:
- Mini Website (Flask)
- Data Analysis Script
- Automation Tool
🎯 Final Outcome
By Day 30, students will:
- Understand Python fundamentals
- Build real projects
- Be ready for jobs or advanced topics
💡 Trainer Tip (Important)
- Teach 70% practical, 30% theory
- Give assignments daily
- Build 1 project per week
- Use real-life examples
Comments
Post a Comment