def random_string() -> str:
    'Generate a random string'
    return ''.join(random.sample((string.ascii_letters + string.digits), k=random.randint(5, 10)))
Generate a random string
def random_string() -> str:
    
    return .join(random.sample((string.ascii_letters + string.digits), k=random.randint(5, 10)))