Share your repls and programming experiences

← Back to all posts
Simple Math Tutor Code (Python)
aidanwroos

This is a simple code that acts as a "math tutor" for younger kids. The code randomly generates an equation using randomly generated numbers and operators. The equation is then displayed for the user to see. The code prompts the user to input the correct answer to the equation. If the answer is correct, the computer prompts, "You answered correctly" or "You answered incorrectly" if the child incorrectly answered the equation. There are still many errors I need to trap, however, this is just a fun piece of code to test your math skills.

Voters
aidanwroos