Question: using python 3.7.2 solve the problem please A) Use a for loop to make 10 random numbers between 20 and 30and store them in a

using python 3.7.2 solve the problem please

A) Use a for loop to make 10 random numbers between 20 and 30and store them in a variablenumList.

( Hint: usenumList.append(number), wherenumberis arandomintbetween 20 and 30 )

B) Sort the list. You may not use the sort(), sorted() or any other built-in python function!

( Hint: use 2 nested for loops as shown on class page )

C) Show the sorted list and the unsorted list

D) Find the sum, and average of the numbers in numList . You mainnot use sum() or average() python functions!

( Hint: use for loop)

E) Find the median of the list.

( Hint for 10 numbers the median is the average of the two numbers in the middle)

F) Show how many numbers are evenly divisible by 2

G)Submit the Output of your program (A-F)as a multiline comment at the bottom of your program .

i try to solve but i have syntax error, can i get help please?

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 Programming Questions!