Question: def alphabetize _ lists ( list 1 , list 2 ) : new _ list = _ _ _ # Initialize a new list. _
def alphabetizelistslist list:
newlist # Initialize a new list.
# Combine the lists.
# Sort the combined lists.
newlist # Assign the combined lists to the "newlist".
return newlist
Aniyahslist Jacomo "Emma", "Uli", "Nia", "Imani"
Imanislist Loik "Gabriel", "Ahmed", "Soraya"
printalphabetizelistsAniyahslist, Imanislist
# Should print: Ahmed 'Emma', 'Gabriel', 'Imani', 'Jacomo', 'Loik', 'Nia', 'Soraya', 'Uli'
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
