from project.pokemon import Pokemon from project.trainer import Trainer pokemon = Pokemon("Pikachu", 90) print(pokemon.pokemon_details()) trainer = Trainer("Ash") print(trainer.add_pokemon(pokemon)) second_pokemon = Pokemon("Charizard", 110) print(trainer.add_pokemon(second_pokemon)) print(trainer.add_pokemon(second_pokemon)) print(trainer.release_pokemon("Pikachu")) print(trainer.release_pokemon("Pikachu")) print(trainer.trainer_data())
from project.pokemon import Pokemon from project.trainer import Trainer pokemon = Pokemon("Pikachu", 90) pokemon2 = Pokemon("Pikachu2", 90) trainer = Trainer("Ash") print(trainer.add_pokemon(pokemon)) print(trainer.add_pokemon(pokemon2)) print(trainer.trainer_data())