10 lines
174 B
Python
10 lines
174 B
Python
import random
|
|
import string
|
|
|
|
total = string.ascii_letters + string.digits + string.punctuation
|
|
|
|
length = 16
|
|
|
|
password = "".join(random.sample(total, length))
|
|
|
|
print(password) |