2
I’m having difficulty doing an exercise of the book 'Eric Matthes' intensive python course the exercises is as follows:
8.10 - Great Magicians: Eat with a copy of your 8.9 exercise program. Write a function called make_great() that modifies the list of magicians by adding the 'O Grande' expression to each magician’s name. Call show_magicians() to see if the list has actually been changed.
I did exercise 8.9 and it was as follows:
def show_magiciasns():
lista=['Howard Thurston', 'David Copperfield', "Lance Burton", 'Houdini',
'David Blaine', 'Dynamo', 'Derren Brown', 'Criss Angel']
for magicos in lista:
print (magicos)
show_magiciasns()
My question is to create a function to change that list.
Already solved exercise 8.9? I hope so, then edit and enter the code. Enjoy and describe what was your difficulty in solving this exercise.
– Woss
Victor, there is the [Edit] button to add information to the question. Also, it will be interesting for you to do the [tour] and read the [Ask] guide. Other information you can find at [help].
– Woss