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)
From this I am getting numbers such as 82.113124523242323. How can I round this percentage to the 10th place e.g. 82.1.