Is it possible to create a variable with a random number except for one number that is stored in a variable
example:
import random x = raw_input("Number: ") y = random.randint(1,6)
So the variable X could never be Y
Aucun commentaire:
Enregistrer un commentaire