14 lines
212 B
Python
Executable file
14 lines
212 B
Python
Executable file
#!/usr/bin/env python3
|
|
import sys
|
|
import os
|
|
import secrets
|
|
a = "".join(sys.argv[1:])
|
|
d = "pq"
|
|
if "u" in a:
|
|
d = d + "PQ"
|
|
|
|
|
|
l = 16 + secrets.randbelow(16)
|
|
|
|
print(''.join([secrets.choice(d) for _ in range(l)]))
|