I have a code like this:
This prints out: 5%
How can I make it print out 6% instead? So like if x=5.0001 it would still be 6%. Like if it’s above an integer value, round up. How can I do this using string formatting? This rounds my answer, but it rounds it down instead.
I know about round() and math.ceil() but can I do it with string formating?