Question: The following script starts by setting up a list. Then it should count how many elements of the list are greater than 21 and display

The following script starts by setting up a list. Then it should count how many elements of the list are greater than 21 and display their number. Complete the script:The following script starts by setting up a list. Then it should

The following script starts by setting up a list. Then it should count how many elements of the list are greater than 21 and display their number. Complete the script: X=[] for i in range(17): x.append(i**3/10) count=0 forn in range(n) if (n>21): count= print X

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!