What is Python?
Features and Applications of Python
Installing Python and Python IDEs (IDLE, PyCharm, VS Code)
Writing and executing the first Python program
Comments in Python
Variables and Data Types
Input and Output functions
Type Casting
Operators in Python (Arithmetic, Relational, Logical)
Conditional Statements: if
, if-else
, if-elif-else
Looping: while
, for
break
, continue
, and pass
Defining and calling functions
Function arguments (default, keyword, return)
Recursion (Basic examples)
Lists, Tuples, Sets, and Dictionaries
Basic operations and built-in functions
List Comprehension
Creating and manipulating strings
String functions and slicing
Reading from and writing to text files
Working with file modes (r
, w
, a
)
Try, Except, Else, Finally
Handling multiple exceptions
Classes and Objects
Constructor and __init__()
method
Inheritance (basic idea)
Weekly assignments
Mini project at the end (e.g., calculator, to-do list, number guessing game)