Question: I need this done in python and need help writing a program that does the following actions: Ask the for a single integer as input.

I need this done in python and need help writing a program that does the following actions:

Ask the for a single integer as input. Set it as the random seed.

Generate a random integer between 0 and 100

Generate a random integer between 1 and 7

Generate a random integer between 400 and 600

Generate a random float between 9 and 10

Generate a random float between 1 and 2

Generate a random float between 100 and 200

Randomly shuffle the list [2,4,6,8,10]

Here is an example execution trace:

Enter Seed for Testing:

28

Random Integer 1: 14

Random Integer 2: 6

Random Integer 3: 433

Random Float 1: 9.545655515769578

Random Float 2: 1.7120917378220366

Random Float 3: 122.64066050387675

Random Shuffle: [4, 6, 2, 10, 8]

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