How do i import random for python??
I am trying to make a rock paper scissors console game and right now you just always lose soooo i need some ideas to import the random module so i can use that to create a randomint(1, 3) 1 being rock, 2 being paper ect. and in order to make it random i need the random module plz hel
Voters
Just add
import random
to the top. Then you can use stuff likerandom.randint(1,3)
and stuff like that.