How to make random numbers using python

I can’t find a way to make random numbers with python. random.randint doesn’t work even with importing random or importing * from random. Please help!

Hey sorry I don’t code in python but have you tried

randint(1, 100)

random module is not in CodeCombat

there is the function Math.random() though

number = Math.random() * 100
number = int(number)
hero.say(number)

3 Likes