Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = "Hello Python!"
- s[-1] = '?'
- # it will throw error: we cannot modify a string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement