30-Day Python Learning Syllabus for Beginners (Class 9)
This 30-day learning plan helps beginners understand Python from basic concepts to simple projects. Students should practice writing code daily to improve their programming skills.
Week 1: Introduction to Python Basics
Day 1: What is Programming and Python
- Introduction to programming
- What Python is and where it is used
- Features of Python
- Installing Python on a computer
Day 2: Writing Your First Python Program
- Running Python
- The
print()function - Writing and running the Hello World program
Example
print("Hello World")
Day 3: Python Variables
- What are variables
- Rules for naming variables
- Storing numbers and text
Example
name = "Riya"
age = 14
Day 4: Data Types
- Integer
- Float
- String
- Boolean
Practice examples using different data types.
Day 5: User Input
- Taking input from the user using
input() - Displaying user input
Example
name = input("Enter your name: ")
print("Hello", name)
Day 6: Basic Operators
- Addition
- Subtraction
- Multiplication
- Division
Example
a = 10
b = 5
print(a + b)
Day 7: Practice Day
Students should practice:
- Writing simple programs
- Taking input
- Using operators
Example exercise:
Create a program to add two numbers.
Week 2: Decision Making
Day 8: Comparison Operators
==!=><>=<=
Day 9: If Statement
Learning how programs make decisions.
Example
age = 18if age >= 18:
print("You can vote")
Day 10: If–Else Statement
Example
marks = 40if marks >= 50:
print("Pass")
else:
print("Fail")
Day 11: Nested If Statements
Using multiple conditions.
Day 12: Logical Operators
andornot
Example
age = 20
citizen = Trueif age >= 18 and citizen:
print("Eligible")
Day 13: Small Programs Practice
Students create programs like:
- Even or odd number
- Check voting eligibility
- Largest of two numbers
Day 14: Weekly Practice Test
Practice problems from Week 1 and Week 2.
Week 3: Loops and Lists
Day 15: Introduction to Loops
- Why loops are used
- Types of loops in Python
Day 16: For Loop
Example
for i in range(5):
print(i)
Day 17: While Loop
Example
i = 1while i <= 5:
print(i)
i += 1
Day 18: Loop Practice
Programs such as:
- Print numbers from 1 to 10
- Print multiplication table
- Sum of numbers
Day 19: Python Lists
- What is a list
- Creating lists
Example
fruits = ["apple", "banana", "mango"]
Day 20: Accessing List Items
- Indexing
- Changing list values
Example
print(fruits[0])
Day 21: List Practice Programs
Exercises such as:
- Print all items in a list
- Count items in a list
Week 4: Functions and Simple Projects
Day 22: Introduction to Functions
- What functions are
- Why they are useful
Example
def greet():
print("Welcome to Python")
Day 23: Calling Functions
greet()
Day 24: Functions with Parameters
Example
def add(a, b):
print(a + b)
Day 25: Functions Practice
Programs using functions.
Day 26: Simple Python Project 1
Create a Calculator Program.
Features:
- Addition
- Subtraction
- Multiplication
- Division
Day 27: Simple Python Project 2
Create a Number Guessing Game.
Day 28: Simple Python Project 3
Create a Student Marks Calculator.
Day 29: Revision Day
Review:
- Variables
- Loops
- Lists
- Functions
Day 30: Final Mini Project
Create a program that:
- Takes student name
- Takes marks
- Calculates total and average
- Displays result