1d133a1 2cb5449 c277c70 2cb5449
1
2
3
4
5
6
7
8
9
10
11
import os # Fetch the API key from the environment youtube_api_key = os.getenv("YOUTUBE_API_KEY") # Check if the key is set and print accordingly if youtube_api_key: print("YOUTUBE_API_KEY is set.") else: print("YOUTUBE_API_KEY is not set.")