Stuff
public python v1 · immutablefrom random import randrangei = 1letout = ""while i <= 6: rand = randrange(1,4) if rand == 1: lettre = "abcdefghijklmnopqrstuvwxyz" randlettre = randrange(1,26) letout = letout + str(lettre[randlettre]) elif rand == 2: chiffre = "123456789" randchiffre = randrange(1,9) letout = letout + str(chiffre[randchiffre]) elif rand == 3: maj = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" randmaj = randrange(0,26) letout = letout + str(maj[randmaj]) i = i+1print letout