Question: Write the function spell_name that takes a name as its input, then returns a list where each character in their name is an element. For

Write the function spell_name that takes a name as its input, then returns a list where each character in their name is an element. For example, \[ \begin{array}{l} \text { spell_name('Jessica') } \\ \# \Rightarrow[' J \text { ', 'e', 's', 's', 'i', 'c', 'a'] } \\ \end{array} \] spell_name( Ariel') #[A,r,i,e,] Unit Test x scratchpad.py x 1# \#ill in this function to return a list containing each character in the name name = "Mark" def spell_name(name): spell_out = list (name) return spell_out print(spell_name)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
