Strings In Depth3 / 19
Up next

Strings are immutable

s = "hello"
# you cannot assign s[0]; build a new string instead
upper = s.upper()
print(s, upper)
What you're solving

methods return new strings