Answers for "generate random number and use number in equation python"

2

how to tell python to create a random numer

#to choose a random number simply do this
import random
print(random.randint(1, 100))
Posted by: Guest on July-22-2020
3

random number pythn

import random
n = random.randint(0,22)
print(n)

# Output: 2
Posted by: Guest on August-23-2020

Code answers related to "generate random number and use number in equation python"

Python Answers by Framework

Browse Popular Code Answers by Language