if act == "block" and enemy_decision != 2:
percentage_blocked = (enemy_attack - block)/(enemy_attack) * 100
print("You have blocked %s percent of the enemy's attack." % percentage_blocked)
我得到的数字是82.113124523242323。如何将此百分比四舍五入到十分位,例如82.1。