Calculator
Nine-year-old Shreyanshi, who loves orange and chocolate ice cream, presents her MicroPython "User Input Calculation Calculator" micro:bit project. It defines a function taking inputs a and b, computing sum (a+b), product (a*b), difference (a-b), and quotient (a/b). Results print to serial via formatted strings: "The sum of 3 and 5 is 8," etc., testing pairs like 3&5, 5&8 across all operations. Clear structure avoids mix-ups (e.g., no "difference of sum result"). Live code demo wows the class with precise math outputs—perfect for quick calculations!
Attend our in-person Robotics & Math