Python Programming Full Course
Module 1: Introduction to Python
Python is a high-level programming language used in web, AI, data science, and automation.
Features: Easy syntax, Open-source, Cross-platform.
Module 2: Variables and Data Types
Variables store values. Example: x = 10
Types: int, float, string, boolean
Program
x=5
y=2
print(x * y) # Output: 10
Module 3: Operators
Arithmetic: + - * / %
Comparison: == != > <
Logical: and or not
Module 4: Conditional Statements
if, elif, else used for decisions
Program
x = 15
if x > 10:
print('Big')
Module 5: Loops
for loop and while loop
Program
for i in range(1,6):
print(i)
Module 6: Functions
Reusable code blocks
Program
def add(a,b):
return a+b
Module 7: Lists, Tuples, Dictionary
List: [1,2,3]
Tuple: (1,2,3)
Dictionary: {'a':1}
Module 8: Strings
String operations like slicing, concatenation
Module 9: File Handling
open(), read(), write() functions
Module 10: Exception Handling
try, except blocks
Module 11: OOP Concepts
Class, Object, Inheritance, Polymorphism
Module 12: Modules & Packages
Importing libraries using import keyword
Module 13: Mini Projects
1. Calculator
2. Student Management System
3. Number Guessing Game
Assignments
1. Write program for factorial.
2. Check palindrome.
3. Create list operations.
MCQs
1. Python is? a) Compiled b) Interpreted
2. Which symbol for comments? #
Lab Manual
1. Install Python
2. Write first program
3. Practice loops and functions