Python Strings
A string is text — an ordered row of characters. "Asha" or 'Asha'. Multi-line with triple quotes. Index from 0: s[0] is A. s[-1] is the last letter. Slice s[1:3] is sh. Concatenate with +. Repeat with *. "sh" in "Asha" is True.
Strings cannot change in place. s[0] = "B" → TypeError. Methods return a new string. f"Hi {name}" inserts values. That immutability word is what interviews want. Then one slice and one f-string.
Python Strings — output — A, Ash, Hi Asha. Slice end is exclusive. String itself did not change.
Immutability + slice + f-string.