This commit is contained in:
2024-06-30 10:14:42 +02:00
parent 426c25fce5
commit c5c11970a1
4 changed files with 33 additions and 4 deletions

View File

@ -0,0 +1,5 @@
import string
import random
def rand_str(len: int) -> str:
return ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(len))