When I write two index numbers of a string the computer only seems to detect one?
middle = suitcase[2:3]
When I imput this it says that I only put in 2 when 3 is the other answer.
It should slice out those two pieces from the list but it says that only one is there. It gives me this error:
"Oops, try again. It looks like your middle slice is ["passport"] instead of ["passport", "laptop"]. "
Passport and laptop are numbers two and three in the list, that I know, so what is going on?
Replace this line with your code.