Three Numbers Are Not a Player.
Look at this line:
attack(enemy_health, 5, 2)
Three values. Two belong to the player. One belongs to the enemy.
Nothing in the code says which is which.
In this article, we are going to fix that by g
journeytocode.io9 min read