Last active 1737100726

AimerNeige's Avatar AimerNeige revised this gist 1737100726. Go to revision

1 file changed, 3 insertions

gen_random_string.py(file created)

@@ -0,0 +1,3 @@
1 + def generate_random_string(n):
2 + letters = string.ascii_letters + string.digits
3 + return ''.join(random.choice(letters) for _ in range(n))
Newer Older