Dec-29-2016, 12:40 PM
I changed the code like this!
it works as expect
it works as expect

li=['a','e','i','o','u'] word="Rizvi" for i in range(len(word)): if word[i] in li: print i
Output:1
4