words = ['hello','world','my','name','is','Anna']
char = 'o'
output =[]
for string in words:
        if string.find(char) !=-1:
            output.append(string)
            print output

649c2f4a0daaa129cf08beabe0c1da7f7bd2c864
words = ['hello','world','my','name','is','Anna']
char = 'o'
output =[]
for string in words:
        if string.find(char) !=-1:
            output.append(string)
            print output
