i'm quite new to coding but i'm already in love.
I'm working on an (over)ambitious project but i need some help.
I'm trying to (in Python) assign 9 values (1-9) to 9 variables (the letters a-i), i have no clue how to do this and though research taught me how to assign them random numbers between those values, i don't manage to make them not overlap (other than sheer luck).
example of what i want randomly generated: a = 7 , b = 8 , c = 4 , d = 6 , e = 9 , f = 1 , g = 2 , h = 3, i = 5
Aucun commentaire:
Enregistrer un commentaire