Question: Given the list 7 , 2 , 9 , 3 , 1 , 1 0 , 8 , 6 , 4 , 5 , create

Given the list 7,2,9,3,1,10,8,6,4,5, create a for loop (2 pts) that
assesses if the number is greater than 5. Inside the loop print if the
number is greater than 5 or less than or equal to 5(4 pts). Also, inside
the loop compile a list of the numbers greater than 5 and another list of
the numbers less than or equal to 5(4 pts).
 Given the list 7,2,9,3,1,10,8,6,4,5, create a for loop (2 pts) that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!