Written by Samuel Ochaba
If you write this code: name = "alice" name.upper() print(name) you will get "alice" and NOT "ALICE". This is the first fundamental truth about Python strings: they're immutable. What Immutability Means When you call upper(), Python doesn't reach into memory and change the letters. It can't. String objects, once created, cannot be modified. What upper() actually does is build an entirely new string and return it: >>> s = "hello" >>> result = s.upper...