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 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
Get step-by-step solutions from verified subject matter experts
