Question: Three strings are read from input and stored in the list course _ list. Then, two more strings are read from input and stored in
Three strings are read from input and stored in the list courselist. Then, two more strings are read from input and stored in the list newcourses. Create a new list called updatedcourses that contains the elements of courselist and newcourses, in that order.
Click here for example
Ex: If the input is:
History Music Databases
Algebra Graphics
then the output is:
My courses: History 'Music', 'Databases', 'Algebra', 'Graphics'
courselist inputsplit
newcourses inputsplit
Your code goes here
printfMy courses: updatedcourses
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
