← All tasks
🔍
Beginner

Hardcoded API Key

⏱ 5 min ⭐ 100 XP 🔁 3 attempts allowed

What you'll do

Find the bug in the snippet and identify the fix.

Scenario

A teammate's python code is misbehaving. Expected behavior: Read the key from the environment.

Ready to try it?

Create a free account and subscribe to take "Hardcoded API Key". Earn 100 XP and track your internship progress.

Already have an account? Sign in