Coin flip
Hi, my name is Afizah Fatema. I am 10 years old and I am in Grade 4. My favorite sports are swimming and badminton. Today I am presenting my Coin Flip project. I made this project using a micro and Python. The program uses the random function to choose either 1 or 2. When I shake the micro, it randomly chooses heads or tails. If it chooses heads, the micro scrolls “heads,” waits for five seconds, and then shows a custom H picture. If it chooses tails, it scrolls “tails,” waits, and then shows a custom T picture. This makes a fun digital coin flip!
Attend our in-person Robotics & Math