+ 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())

17th Jun 2020, 1:04 PM
Swapnil
Swapnil - avatar
1 Réponse
+ 17
Please, post the error description.
17th Jun 2020, 5:55 PM
Igor Makarsky
Igor Makarsky - avatar