...

Chapter 3 - Python Quest

Variables In Motion

Watch names point to changing values across parameters, constants, and updates.

XP
0Level 1
Stars
0/15quest stars
Combo
0clean runs
Rank
Seed0/160 Python score
Variable names

Variable Echo

100 XP

A message robot repeats the label it receives, exactly as it came in.

Write same_label(label) so it returns the value stored in label.

Sample checks

same_label("Mia")returns"Mia"

Explanation: a name comes through unchanged

same_label("blue team")returns"blue team"

Explanation: a phrase comes through unchanged

Hint

Hints are ready when you want one.

Lesson reference

Review: Names are not quoted words

Your Python

same_label

Loading editor

Judge

Ready

0/4

Run your code when it feels ready.