How to make a Random number generator in python?

I’ve been working on a simple game, when it occurred to me:
I don’t know how to make a random number generator in python!
I’ve looked it up, but I cannot figure it out. Does anyone know how to do this?

You are viewing a single comment. View All

@nithilan4 , it doesn’t work for some reason, any idea on what I could be doing wrong?