# Strings cannot be changed directly (they are immutable), lists can be changed >>> s = "hello" >>> s.capitalize() Out[1]: 'Hello' >>> s Out[1]: 'hello' >>> l = list(s) >>> l Out[1]: ['h', 'e', 'l', 'l', 'o'] >>> l[0] = l[0].capitalize() >>> l Out[1]: ['H', 'e', 'l', 'l', 'o'] >>> l.remove('l') >>> l Out[1]: ['H', 'e', 'l', 'o']