Jun-12-2019, 11:55 PM
i need the index of the first occurrence of in s (at or after index i) just like s.index(x,i) but in reverse. that is, equivalent to testing slices of s[i:i+len(x)] for a decrementing value of i. anyone know of such a method or function? this is for a str type though a general solution for any sequence type would be great.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.