Artemis Tosini
cdab9d90a1
Strange size things (i7 in llvm) Hellp world in idris A rolldice test pppassword changes to add b
16 lines
246 B
Python
Executable file
16 lines
246 B
Python
Executable file
#!/usr/bin/env python3
|
|
import sys
|
|
import os
|
|
import secrets
|
|
a = "".join(sys.argv[1:])
|
|
d = "pq"
|
|
if "b" in a:
|
|
d = d + "b"
|
|
if "u" in a:
|
|
d = d + d.upper()
|
|
|
|
|
|
l = 16 + secrets.randbelow(16)
|
|
|
|
print(''.join([secrets.choice(d) for _ in range(l)]))
|