Courses
Python for Beginners
- Level
- Junior High · Grades 7–9
- Difficulty
- Beginner
- Duration
- 12 modules
- Curriculum
- 36 lessons
Curriculum
12 units01Getting to Know Python and ThonnyYou can explain what a program and Python are, then write and run your first program in Thonny or Replit.3 lessonsShow contentsHide
- What Is a Program and Why Learn Python?Preview45 min
- Installing Thonny and Running Your First Program1 hLocked
- Recap: First Program and Error Messages45 minLocked
02Variables and Data TypesYou can store data in correctly named variables and tell apart the int, float, str and bool data types.3 lessonsShow contentsHide
- Variables as Labelled Boxes45 minLocked
- Building a Digital Student Card1 hLocked
- Recap of Variables, Names and Data Types45 minLocked
03Input, Operators and CalculationsYou can ask the user for data with input(), convert its type, and calculate with Python arithmetic operators.3 lessonsShow contentsHide
- Arithmetic Operators in School Life45 minLocked
- Calculating a Report Card Average with input()1 hLocked
- Recap of Input and Operators45 minLocked
04Working with Text Using StringsYou can take parts of text with indexing and slicing, and tidy text using string methods such as lower, upper, strip and replace.3 lessonsShow contentsHide
- Indexing, Slicing and String Length45 minLocked
- Building a Student Username Generator1 hLocked
- Recap of Strings and Text Methods45 minLocked
05Branching: if, elif and elseYou can make programs that take decisions using comparison operators, logical operators and the if, elif and else structure.3 lessonsShow contentsHide
- Making Decisions with Conditions45 minLocked
- A Grade Program with elif and Logical Operators1 hLocked
- Recap of Branching and Logic45 minLocked
06Loops with whileYou can repeat commands while a condition is true using while, use counters, and stop a loop with break.3 lessonsShow contentsHide
- Repeating While a Condition Is True45 minLocked
- A Locker PIN and a Savings Goal with while1 hLocked
- Recap of while Loops45 minLocked
07for Loops and range()You can repeat commands a set number of times with for and range(), go through the characters of a string, and add up data inside a loop.3 lessonsShow contentsHide
- Understanding for and the range() Function45 minLocked
- Times Tables, Pocket Money and Star Patterns1 hLocked
- Recap of for Loops45 minLocked
08Lists: Storing Many ValuesYou can store many values in a list, add, change and remove items, and calculate simple statistics from a list of scores.3 lessonsShow contentsHide
- Lists as a Class Cleaning Roster45 minLocked
- Processing a List of Class Test Scores1 hLocked
- Recap of Lists and Their Operations45 minLocked
09Functions: Making Your Own CommandsYou can create functions with def, give them parameters, send back results with return, and organise reusable calculator functions.3 lessonsShow contentsHide
- Why Do We Need Functions?45 minLocked
- Building the Calculator Functions1 hLocked
- Recap of Functions, Parameters and return45 minLocked
10Dictionaries and Quiz Question DataYou can store key-value data in a dictionary, then organise a quiz question bank as a list of dictionaries.3 lessonsShow contentsHide
- Dictionaries: Pairs of Keys and Values45 minLocked
- Building a Multiple-Choice Quiz Question Bank1 hLocked
- Recap of Dictionaries and Data Structures45 minLocked
11Handling Errors and Using ModulesYou can read error messages, keep programs from crashing with try and except, and use the random and math modules.3 lessonsShow contentsHide
- Reading Error Messages and Using try-except45 minLocked
- Safe Input and the random and math Modules1 hLocked
- Recap of Errors, try-except and Modules45 minLocked
12Final Project: A Calculator and an Interactive QuizYou can plan, build, test and present a menu program containing a calculator and an interactive quiz, using every Python concept you have learned.3 lessonsShow contentsHide
- Planning the Project: Features, Menu Flow and Functions1 hLocked
- Building and Testing the Calculator-Quiz Program1 hLocked
- Project Presentation, Reflection and Next Steps1 hLocked
Prerequisites
No special prerequisites.
Tools and materials
Python, Thonny or Replit
Final project
A calculator and an interactive quiz
Mentor
ES
EduSTEAM Team
