Saved Bookmarks
| 1. |
Rectify the error (if any) in the given statements.>> str=“Hello Python”>>> str[6]=‘S’ |
|
Answer» str[6] = ‘S’ is incorrect ‘str’ object does not support item assignment. str.replace(str[6],‘S’). |
|