Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A professor gave his two assistants, Aniyah and Imani, the task of keeping an attendance list of students in the order they arrived in the
A professor gave his two assistants, Aniyah and Imani, the task of keeping an attendance list of students in the order they arrived in the classroom. Aniyah was the first one to note which students arrived, and then Imani took over. After class, they each entered their lists into the computer and emailed them to the professor. The professor wants to combine the two lists into one and sort it in alphabetical order.
Complete the code by combining the two lists into one and then sorting the new list. This function should:
accept two lists through the functions parameters;,
combine the two lists;
sort the combined list in alphabetical order;
return the new list.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started