1.Write a loop that finds the longest name on the following list, and prints it out: [Doc, Grumpy, Happy, Sleepy, Bashful, Sneezy, Dopey]. 2. Write a loop that allows a user to input names, until the user clicks Enter without entering a name (i.e. enters an empty string). Once the list input is complete, print the list, sort the list, and then print the sorted list.