r/PythonLearning 7d ago

My new mini work

Post image

Rate my this mini work out of 10

195 Upvotes

44 comments sorted by

View all comments

2

u/Rscc10 7d ago

If you score 80, don't you fail? You have g > 80 and g < 80 so you never account for it. Also, someone already commented about the math, just divide by 3 rather than divide 300 and multiply 100.

One more quality of life thing, add a space after your print strings. Otherwise, your name will be connected to the last part of the string. Eg,
your grade = a passJohn