Question: Question 1 The for loop, at its simplest, simply obtains values from a collection. Let's start with this simple list: this_list = [0, 7, 4,

Question 1 The for loop, at its simplest, simply obtains values from a collection. Let's start with this simple list: this_list = [0, 7, 4, 2, 4, 6, 5, 7] Complete this for loop to display all the values on the screen, with one number on each line: for values in the data print(value) NOTE: Your answer box may not contain any brackets or numbers itself, but must instead refer to the given variable. > Question 2 Modify that code so that it only displays the values less than 5. This will require a minor adjustment to the print statement, but the real change is not in the print statement. Copy a working answer to the answer box. Edit View Insert Format Tools Table 12pt Paragraph B I U AT? Dz v TO VX 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
