PYTHON TOPIC 1
1. Output and values
Use print(), text strings, numbers, and assignment with =.
name = 'Maya'
print('Hello,', name)PYTHON COURSE FOR KIDS
This course is specifically designed for kids, not professional programmers. Learn with small, playful examples, build your logical thinking, practise in the editor, and test yourself with a quiz.
Programming is problem solving. Before writing code, understand the goal, break it into steps, predict the result, test an example, and improve the solution when it does not work.
Each topic has detailed notes, a quiz, and a browser-based Python editor. Start from the beginning or choose an idea you want to explore.
PYTHON TOPIC 1
Use print(), text strings, numbers, and assignment with =.
name = 'Maya'
print('Hello,', name)PYTHON TOPIC 2
Store and update values, then use arithmetic to solve number-pattern problems.
score = 12
score = score + 3
print(score)PYTHON TOPIC 3
Use if for choices, loops for repeated work, and lists to keep items together.
for number in range(1, 4):
print(number)PYTHON TOPIC 4
Compare values, use while safely, and change a list as your program runs.
if number % 2 == 0:
print('Even')PYTHON TOPIC 5
Package a solution in a function, return a result, and transform text with string methods.
def double(number):
return number * 2
print(double(6))PYTHON TOPIC 6
Combine functions, text tools, lists, and nested loops to solve multi-step problems.
def double(number):
return number * 2
print(double(6))PYTHON TOPIC 7
Use dictionaries to organise information, then classes to bundle data and behaviour.
student = {'name': 'Asha', 'score': 92}
print(student['score'])PYTHON TOPIC 8
Design step-by-step solutions using sorting, searching, comprehensions, and recursion. Think about correctness and efficiency.
numbers = [1, 2, 3, 4]
squares = [n * n for n in numbers]
print(squares)Choose a topic in any order, then use the detailed notes, coding practice, and quiz to build confidence.