# 4.2 - Concatenation, Indexing, and Slicing # Solutions to review exercies # Exercise 1 # Display the number of letters in the string my_word = "antidisestablishmentarianism" print(len(my_word)) # Exercise 2 # Concatenate two strings together string_left = "bat" string_right = "man" print(string_left + string_right) # Exercise 3 # Display two strings together, with a space in between string_one = "heebie" string_two = "jeebies" print(string_one + " " + string_two) # Exercise 4 # Use subscripting to display part of a string print("bazinga"[2:6])