Skip to main content
🔮 Output PredictionPY Python Medium⚡+20 XP

Dictionary Comprehension

What does this produce?

Python
result = {x: x**2 for x in range(4)}
print(result)

🔮 What is the output?