Q. If you give the following for str1 = "Hello", why does python report error ?
str1[2] = 'p'
Answer = python report error because string are immutable
You can uderstand by watching videos -----
You can uderstand by watching videos -----
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )