Day 1: Python Basics
-
Objective: Understand the fundamentals of Python programming language.
-
Variables and Data Types (Integers, Strings, Floats, Booleans)
-
Basic Input and Output (using
input()andprint()) -
Basic Arithmetic Operations (addition, subtraction, multiplication, division)
-
Day 2: Control Flow - Conditional Statements
-
Objective: Learn how to make decisions in your code.
-
if,else, andelifstatements -
Comparison operators (
==,!=,>,<,>=,<=) -
Logical operators (
and,or,not)
-
Day 3: Loops - Iteration
-
Objective: Work with loops to repeat tasks.
-
forloops (iterating over lists, strings, ranges) -
whileloops -
break,continue, andpassstatements
-
Day 4: Functions
-
Objective: Learn to write reusable code with functions.
-
Defining functions with
def -
Function arguments and parameters
-
Return values
-
Scope (local vs global variables)
-
Day 5: Data Structures - Lists
-
Objective: Get familiar with Python’s built-in data structures.
-
Creating lists and accessing elements
-
List operations (adding, removing, slicing)
-
List methods (e.g.,
append(),pop(),sort())
-
Day 6: Data Structures - Tuples and Sets
-
Objective: Explore immutable and unordered collections.
-
Tuples: Creating, accessing elements, immutability
-
Sets: Creating sets, adding/removing elements, set operations
-
Day 7: Data Structures - Dictionaries
-
Objective: Learn about key-value pairs and how to use dictionaries.
-
Creating and accessing dictionaries
-
Modifying dictionaries (adding, updating, removing key-value pairs)
-
Dictionary methods (e.g.,
keys(),values(),items())
-
Day 8: List Comprehension
-
Objective: Write concise and efficient code with list comprehensions.
-
Creating lists using list comprehensions
-
Filtering elements in a list using conditions
-
Day 9: String Manipulation
-
Objective: Work with text in Python.
-
String concatenation, repetition, and formatting
-
String methods (e.g.,
split(),join(),lower(),upper(),replace()) -
String slicing
-
Day 10: File Handling
-
Objective: Read from and write to files.
-
Opening files with
open() -
Reading from files (
read(),readlines()) -
Writing to files (
write(),writelines()) -
Closing files
-
Day 11: Exception Handling
-
Objective: Handle errors gracefully in your program.
-
try,exceptblocks -
else,finally -
Raising exceptions
-
Day 12: Object-Oriented Programming (OOP) - Classes and Objects
-
Objective: Understand the core principles of OOP in Python.
-
Defining classes and creating objects
-
Instance variables and methods
-
Constructors (
__init__())
-
Day 13: OOP - Inheritance and Polymorphism
-
Objective: Learn to extend classes and reuse code.
-
Inheriting from another class
-
Overriding methods
-
Polymorphism and method overriding
-
Day 14: Final Project
-
Objective: Apply everything you've learned to a real-world project.
-
Design and implement a small project that incorporates:
-
Functions
-
Control flow
-
Data structures
-
File handling
-
OOP (if applicable)
-
-
0