Finding With Numbers

Level pending

For any variables s and t that are strings, an i that is a number:
s =* '< any string >'*
t = '< any string >'
i = < any number >
Which of these are equivalent to s.find(t,i):

1) s[i:].find(t)
2) s[i:].find(t[i:])
3) s[i:].find(t)+i
4) None of these

×

Problem Loading...

Note Loading...

Set Loading...