How to make random numbers using python


#1

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!


#2

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

randint(1, 100)

#3

random module is not in CodeCombat

there is the function Math.random() though

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