asked 229k views
4 votes
How do you pick a random number between 40 and 760 in the GDP?

1) Use the random() function in a programming language
2) Use a random number generator
3) Use a mathematical formula to generate a random number
4) Use a random number table

asked
User Prabhjot
by
8.1k points

1 Answer

2 votes

Final answer:

To pick a random number between 40 and 760, you can use a random number generator.

Step-by-step explanation:

To pick a random number between 40 and 760, you can use a random number generator. One way to do this is to use the random() function in a programming language. For example, in Python, you can use the random.uniform() function to generate a random number between 40 and 760.



Here is an example:



import random

random_number = random.uniform(40, 760)

print(random_number)



This will give you a random number between 40 and 760.

answered
User Zuddsy
by
7.4k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.

Categories