diff --git a/main.py b/main.py index 4693ad3..13ec753 100644 --- a/main.py +++ b/main.py @@ -1,2 +1,10 @@ -def add(a, b): - return a + b +from random import choices +from string import ascii_letters, digits + + +def random_string(s: str, n: int) -> str: + return "".join(choices(s, k=n)) + + +if __name__ == "__main__": + print(random_string(ascii_letters + digits, 10))