EasyOutput prediction

Variable rebinding changes type

What does this code print?

x = 42
x = "hello"
x = [1, 2]
print(type(x).__name__)

← → arrow keys to navigate

Sign in to save your progress.

Variable rebinding changes type - Python Variables & Types Quiz | Unnested