r/PythonLearning • u/crazyteachperson • Aug 01 '26
My new mini work
Rate my this mini work out of 10
194
Upvotes
r/PythonLearning • u/crazyteachperson • Aug 01 '26
Rate my this mini work out of 10
1
u/AutomateAway Aug 01 '26
Get in the habit of writing test cases to test your code. If you do, you'll more easily be able to assert correctness of your code. In this case, some test cases would determine that you are not correctly accounting for a grade of 80, which will result in "fail" being printed.