← All tasks
🔢
Advanced

Variable Scope Lookup

⏱ 10 min ⭐ 300 XP 🔁 3 attempts allowed

What you'll do

Arrange the items in the correct order. Sort in the order Python searches.

Scenario

Python resolves names using the LEGB rule.

Ready to try it?

Create a free account and subscribe to take "Variable Scope Lookup". Earn 300 XP and track your internship progress.

Already have an account? Sign in