Start building a battle system! Create a function to make Codémons:
-
create_codemon(name, hp, attack, defense)
that returns a dictionary with these stats
- Test by creating
Aquachu
(100 HP, 60 attack, 30 defense)
and
Pyrochu
(80 HP, 60 attack, 20 defense)
, then display their stats.