import getpass api_key = getpass.getpass("Enter you API Key: ") print((f"You entered an API key of length {len(api_key)}"))