# Chapter 14 example: slicing a string with slice notation.
word = "dragon"
print(word[0:3])    # dra (first three)
print(word[-3:])    # gon (last three)
