I have made a math game that gives a percentage at the end of questions you got right.
I don't want any zeros I just want it to round to the nearest whole number. I don't know who to do this though.
This is the code that makes the percentage:
percentage = correct / questions * 100
print ("Your Correct Percentage: ", percentage, "%")
And the result when you get 1/3 right is:
Your Correct Percentage: 33.33333333333333 %
I want the 33.3333333333 to just round down to 33. Thank You, Andrew the Python Coder