►
Run
a = 0.31 result = format(a, '%') print(result)
Output