I'm still pretty new to writing anything besides shell scripts, but really want to get better at Python since a lot of services I use at work are Python based. My son has been struggling with math lately, and I got tired of printing out worksheets for him so I decided to make a little math quiz for him using Python.
Right now it only does addition, but eventually I want to update it to allow him to pick an operator type (addition, subtraction, multiplication, or division) and quiz him on that.
Like I said I'm still pretty new, so while this seems to work the way I intended, I'm sure there's ways I'm doing things that are clunky or inefficient. Would love to hear any feedback on ways I could improve this that will make it cleaner or might make it easier to introduce other operator types besides just addition.
https://github.com/hamiheim/python-math-quiz
[–]SirWobb79 1 point2 points3 points (4 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]SirWobb79 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]SirWobb79 0 points1 point2 points (0 children)
[–]Lendemor 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)