Strings
1 / 18
EasyOutput prediction

Strings are immutable

What does this code print?

s = "hello"
try:
    s[0] = "H"
except Exception as e:
    print(type(e).__name__)

← → arrow keys to navigate

Sign in to save your progress.

Strings are immutable - Python Strings Quiz | Unnested