Question: Part 2 : Complete this part in a separate program from Part 1 . Using a while loop, append 5 0 random integers to a

Part 2:Complete this part in a separate program from Part 1.
Using a while loop, append 50 random integers to a list. The random numbers should range between 1 and 100 inclusive.
Once your list is full, use a for loop to determine:
how many numbers in your list are between 42 and 61 inclusive
the highest and lowest numbers in the list.
Do not use Python's min() and max() functions or any similar pre-written functions duplicating their behavior. How might we replicate this behavior?
Alongside some descriptive text, output:
how many numbers in the list are between 42 and 61 inclusive
the highest and lowest numbers in the list

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!