-1
streetName = "Finley"
print(streetName[???]),
                   ^
                   |

I'm trying to find out how I can retrieve the last 3 letters of the string using string index. What would I put in the brackets??

1 Answers1

1
print(streetName[-3:]). 

This should work.

Oliver
  • 26
  • 4