The most common answer is:
fill in this function to return a list containing each character in the name
name = “Estynia”
def spell_name(name):
spell_out = list(name)
return spell_out
print (spell_name(name))
The use of list(name)
converts the string into a list of its characters. Here is the same code with proper syntax:
name = "Estynia"
def spell_name(name):
spell_out = list(name)
return spell_out
print(spell_name(name))
Leave a comment