+ 2
why did it show error???
i created the init file and game files as well The code: from classes.game import Person, bcolors magic = [{"name": "Fire", "cost": 10, "dmg": 60}, {"name": "Thunder", "cost": 10, "dmg": 60}, {"name": "Blizzard", "cost": 10, "dmg": 60}] player = Person(460, 65, 60, 34, magic) print(player.generate_damage()) print(player.generate_damage()) print(player.generate_damage())
1 Réponse
+ 17
Please, post the error description.