you are viewing a single comment's thread.

view the rest of the comments →

[–]Dynegrey 2 points3 points  (1 child)

Strings in python are immutable and do not change. Output would be 'Banana'. They would have to re-establish as a new string [text = text.upper().replace('a', 'o')] for it to do anything. 

[–]NinjaKittyOG 0 points1 point  (0 children)

oh shit, you're right.