Question: For this exercise, you will need to import the math and random Python modules. Generate a random number between 0 and 100 and store it

For this exercise, you will need to import the math and random Python modules.

Generate a random number between 0 and 100 and store it in the variable my_random. Remember, the random method returns a value between 0 and 1. You can scale it by multiplying the result by 100.

Compute the square root of my_random and store the result in the variable square_root.

Note: If you do not see any output in the preview window, it may be due to failing to import the correct module(s).

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!