- 2
I don't know how use the random.randint , help
Maybe im fool idk, but in a code coach (generating dices) it says "SyntaxError" and i don't know how it works (sorry for my english, my common language is the spanish), i tried this dice1 = random.randint (1 , 2 , 3 , 4 , 5 , 6) dice1 = random.range (1 , 2 , 3 , 4 , 5 , 6) dice1 = random.randint (range (1 , 2 , 3 , 4 ,5 ,6)) And other codes
1 Antwort
0
Did you import the random module?