30-Day Python Learning Plan for Beginners
Day 1: Getting Started
Install Python, set up VSCode/Thonny, learn print() and comments.
Resource: W3Schools - Python Basics
Practice: Print your name and a welcome message.
Day 2: Variables and Data Types
Learn int, float, str, bool, and type conversion.
Resource: Programiz - Python Variables
Practice: Create variables for name, age, and CGPA.
Day 3: Strings
Indexing, slicing, methods like lower(), upper(), replace().
Resource: W3Schools - Python Strings
Practice: Modify a given sentence using string methods.
Day 4: User Input and Formatting
Use input() and f-strings for formatted output.
Resource: Programiz - Python Input
Practice: Ask user name and greet them.
Day 5: Arithmetic and Math
Basic operations, precedence, and math functions.
Resource: W3Schools - Python Operators
Practice: Create a simple calculator.
Day 6: Conditionals
Use if, elif, else and comparison operators.
Resource: Programiz - Python if Statement
Practice: Grade checker.
Day 7: Logical Operators
Understand and, or, not and nested conditionals.
Resource: W3Schools - Python Conditions
Practice: Voting eligibility checker.
Day 8: While Loops
Learn while loops, break, and continue.
Resource: Programiz - Python while Loop
Practice: Guessing game.
30-Day Python Learning Plan for Beginners
Day 9: For Loops
Using for loops with range().
Resource: W3Schools - Python For Loops
Practice: Print numbers from 1 to 10.
Day 10: Lists Basics
Create, index, slice, and iterate lists.
Resource: Programiz - Python Lists
Practice: Store and print top 5 favorite movies.
Day 11: List Methods
append(), remove(), pop(), sort(), etc.
Resource: W3Schools - Python List Methods
Practice: Grocery list app.
Day 12: Tuples and Sets
Immutable data (tuples) and unique collections (sets).
Resource: Programiz - Python Tuples & Sets
Practice: Store unique cities visited.
Day 13: Dictionaries
Key-value pairs, adding/removing, and iteration.
Resource: W3Schools - Python Dictionaries
Practice: Student marks record.
Day 14: Mini Project 1
Create a simple menu-based project like Contact Book or To-Do List using lists and dicts.
Day 15: Functions
Define, call functions with parameters and return values.
Resource: Programiz - Python Functions
Practice: Create a calculator function.
Day 16: Scope
Local vs global variables.
Resource: W3Schools - Variable Scope
Practice: Modify variables inside and outside functions.
Day 17: Built-in Modules
Use math, random, time, etc.
30-Day Python Learning Plan for Beginners
Resource: Python Docs - Modules
Practice: Dice simulator.
Day 18: Custom Modules
How to create and import your own Python module.
Practice: Write math helper functions in a separate file.
Day 19: File Handling Basics
open(), read(), write(), close()
Resource: Programiz - Python File Handling
Practice: Save user input to a file.
Day 20: CSV Files
Read and write CSV using built-in CSV module.
Practice: Write a CSV of student marks.
Day 21: Mini Project 2
Expense tracker using functions and file handling.
Day 22: OOP Basics
What is OOP? Create a class and objects.
Resource: Programiz - Python OOP
Practice: Class for `Dog` with attributes and methods.
Day 23: Class Attributes & Methods
__init__, self, instance variables.
Practice: Student class with name, age, and marks.
Day 24: Inheritance
Create parent-child relationships in classes.
Practice: Person -> Student, Teacher inheritance.
Day 25: Exception Handling
try, except, finally blocks.
Resource: W3Schools - Python Try Except
Practice: Handle division by zero.
Day 26: Practice Day 1
Solve 5 problems on lists, loops, and conditionals.
Sites: HackerRank, W3Schools Exercises
30-Day Python Learning Plan for Beginners
Day 27: Practice Day 2
Solve 5 problems on functions and dictionaries.
Sites: PracticePython.org
Day 28: Mini Project 3
Create a Quiz App or Library Management System using OOP.
Day 29: Final Project
Build a Student Grade Management System or Daily Task Tracker.
Use: functions, file handling, lists, dicts, OOP.
Day 30: Wrap-Up
Revise everything, polish your final project, upload it to GitHub.
Create a summary of what you learned.