Contact: aviboots(AT)netvision.net.il
43,970 questions
57,412 answers
573 users
s = "Python programming language" ch = 'n' print([pos for pos, char in enumerate(s) if char == ch]) ''' run: [5, 16, 21] '''