Checkpoint 8.8.1.
- 5
- Yes, when we get the index of a string that is longer than one character, we get the index for the first character in the string.
- 6
- When we get the index of a string that is longer than one character, we get the index for the first character in the string.
- 13
- Remember that index returns the left most occurance of the argument.
- 14
- Remember that index returns the left most occurance of the argument.
- There is an error.
- There is at least one ’we’ in the string assigned to qu.
What will be stored in the variable ty below?
qu = "wow, welcome week!"
ty = qu.index("we")