Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- phrase="hello"
- phrase[0]
- phrase[0:4]
- phrase[0]
- phrase[1]
- phrase[2]
- phrase[3]
- phrase[4]
- print("phrase[0:4] reflects my occasional thoughts when I've forgotten to use square brackets and go round instead. Then I start to remember and be more careful.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement