Процент формата Python
# x -> float
'{:.2%}'.format(x)
Juliano Gheller
# x -> float
'{:.2%}'.format(x)
your_value = 1/3.0
print('{:.1%}'.format(your_value)) # Change the "1" to however many decimal places you need
# Result:
# '33.3%'