Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions

Question

gpt 9 0 9 .

Answered: 1 week ago