Get your own Python server Result Size: 625 x 565
x
 
#Use "%" to convert the number into a percentage format:
txt = f"You scored {0.25:%}"
print(txt)
#Or, without any decimals:
txt = f"You scored {0.25:.0%}"
print(txt)
You scored 25.000000%
You scored 25%