Contact: aviboots(AT)netvision.net.il
39,894 questions
51,825 answers
573 users
s = 'python java python' ch = 'p' result = s.index(ch, s.index(ch) + 1) - s.index(ch) print(result) ''' run: 12 '''