How do I make a random number in python?

On, import Math does not work, so I can not use math.random to make a random number. What do I do to generate a number?

You are viewing a single comment. View All

apparently, your supposed to do:
import random
x = random.randint(1, 100)
print(x) @DarshanRajpara