Assume you have a list of numbers F. Write code to add up the numbers in the list that are smaller than or equal to than 14
Use: variables, loops, if[3]
|
|
|
Test Using: F = [] F = [5,6,7,8,9,10,11,12,13,14,15] F = [13,97,90] |
Assume you have a non-empty list of scores VAR for your math class. Calculate the mean of the scores.
Use: variables, loops[3]
|
|
|
Test Using: VAR = [10] VAR = [1,2,3,4,5] VAR = [39,12,34] |