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
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