Penjee.com 's Blog

2 Player Button Presser Game – Microbit Project

Overview: Create a 2 player game.  Give the players 5 seconds to press button_a/button_b.  After the 5 seconds are over state who the winner or is if there’s a tie. One player will press button A and the other button B. Provide instructions and a count down and then give the players 5 seconds to … Continue reading 2 Player Button Presser Game – Microbit Project →

How to Create Custom Image

The Python Microbit reference shows how to make a custom boat image, which you can see pictured at the bottom. Here is the code: [crayon-6766ae5ad0e70293426823/]  

Strings in Python . Beginner’s Guide and Sample Code

Most programming languages have certain types of variables including boolean variables (true or false), numeric variables (integers and/or decimal points). One of the other common types of variables are strings. A string  begins and ends with a quotation mark.  A string in is just  stuff inside quotes. The sample code below creates 3 different string variables  ([crayon-6766ae5ad1669757735055-i/] , [crayon-6766ae5ad166e464239806-i/] , and [crayon-6766ae5ad1670504837663-i/] ) …...