CS 0007: Fall 2009 Lab 5 YOUR NAME: YOUR PARTNER'S NAME: ****PART 1: Practice reading code with while loops; using a list to make code clearer Download get_command.py from the course schedule. First, read, understand, and run get_valid_command1. The while loop in get_valid_command1 has condition True! So, it should run forever!! But, there is a case when the loop terminates. QUESTION: In what situation does the while loop terminate (without you killing the program). Explain how it terminates. ANSWER: Now, read, understand, and run get_valid_command2. There is no question to answer - just be sure you understand how it works. Now, let's see the power of lists!! TODO: uncomment and write function get_valid_command3 according to its docstring. Call it with different lists of valid commands, such as ["abs","max","min"], or ["media.get_red","media.get_green","media.show","media.set_color"]. See, you could use get_valid_command3 for ANY set of commands you care about. You could reuse this function in any program where you are prompting the user for a command! ****PART 2: Nested loops For this question, we will work with a list of lists and nested loops. Please download lab5.py and following the directions in the comments.