Question: Having trouble writing this code and getting error. Please write this code in python clear using lists and conditional statements. I will rate your answer
Having trouble writing this code and getting error. Please write this code in python clear using lists and conditional statements. I will rate your answer after. Thank you

Create an empty list of music artists Get user input for the number of artists the list will contain Use a looping structure to enter the name of your favorite artist. Append each artist to the list Print the list Sort the list Print the sorted list Edit the list Get user input for the artist name to change If the artist entered by the user is on the favorite artist list, edit the name. Print the updated list. If the name is not on the list, print a message stating the artist is not on the list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
