Programming Fundamentals with Python
Build core Python skills — for/while loops, if/elif/else, functions, and lists — with hands-on Beaver Board examples.
Storing Values: Variables
Learn how to store numbers and text in variables and show them on the OLED screen. Variables are the building blocks of every program.
If and Else
Use if/else to make your program choose between two paths. Check whether Switch A is pressed and light a different LED for each answer.
Repeat with for
Use a for loop to repeat an action an exact number of times. Blink LEDs, play tones, and count — all without copying the same code over and over.
Loop Until: while
Use a while loop to keep repeating code as long as a condition stays true. Count button presses and stop automatically when the target is reached.
Write Your Own Function
Group code into reusable functions with def. Call the same function multiple times without repeating yourself, and pass in parameters to change the behaviour.
Score Counter Challenge
Put it all together: variables, if/else, while loops, and functions. Build a two-player score tracker where the first to 5 points wins and the board celebrates with lights and sound.