Question: In PYTHON please The following code will produce 5 pairs of random floating point numbers from 2 different random distributions: import random for nums in

In PYTHON please

In PYTHON please The following code will produce 5 pairs of random

The following code will produce 5 pairs of random floating point numbers from 2 different random distributions: import random for nums in range (0,5) : r1= random.triangular (50,150,75) r2= random. uniform (5,150) r1 will generate number between 50 and 150 (with a mode of 75) r2 will generate a number between 5 and 150 . provide a single print function statement (to be run inside the loop) that will output each pair of numbers to the console, separated by a colon with 2 decimal places and lined up on the decimal. For example

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!