blob: 1a33078567618d1fd60252d81b9f8b8d5449b2b1 (
plain)
1
2
3
4
5
6
7
8
|
def wizard_spells(spell_book):
# pylint: disable=maybe-no-member # [locally-disabled]
for spell in spell_book:
print(f"Abracadabra! {spell}.")
spell_list = ["Levitation", "Invisibility", "Fireball", "Teleportation"]
wizard_spells(spell_list)
|