Sobes.tech
Junior — Senior

Changing a character in a string at a specified index

livecode

Task condition

Consider what happens when trying to change a character in a string using indexing. You need to explain how the variable will change (or not change) after such an operation.

a = "Hello world!"
a[5] = "b"
# what will a become?