The function toggle_case_first(s) should return a new string where the first character's case is toggled — uppercase becomes lowercase, lowercase becomes uppercase. The rest of the string stays the same.
The function crashes immediately with a TypeError. Why can't Python do what the code is asking?