import secrets def generate_api_key(): print([secrets.token_urlsafe(40) for _ in range(3)]) generate_api_key()