Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = "Hello Python!"
- print(s[-1])
- # output : !
- print(s[-13])
- # output : H
- print(s[6] == s[-7])
- # output : True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement