r/codegolf • u/CommonApartment6201 • Jan 16 '23
91 byte password generator
from random import*
while 1:print(''.join(map(chr,choices(range(32,127),k=int(input())))))
5
Upvotes
r/codegolf • u/CommonApartment6201 • Jan 16 '23
from random import*
while 1:print(''.join(map(chr,choices(range(32,127),k=int(input())))))
View all comments
Show parent comment
1
u/CommonApartment6201 Jan 16 '23
no it's not necessary