8 lines
196 B
Python
8 lines
196 B
Python
import string
|
|
import random
|
|
|
|
|
|
def generer(*args):
|
|
caracteres = string.ascii_letters + string.digits
|
|
aleatoire = [random.choice(caracteres) for _ in range(6)]
|
|
return ''.join(aleatoire)
|