If the wizard is the only player that can cast spells, we can directly set a castSpell() method on wizard instead of putting it in player.
castSpell()
wizard
player
Make sure to pick def followed by castSpell and then (, self, ), :.
def
castSpell
(
self
)
: