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-6700b88c54b97638766002/]  

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-6700b88c5506e838626205-i/] , [crayon-6700b88c55074816783733-i/] , and [crayon-6700b88c55076925431281-i/] ) …...