If words include letter “E” then I need to return these words and another words I need to print out. And I need to reverse returned words.
lib = ["politsei", "mehine","panda","ment","kusi", "treener","leidma", "jooks", "muksid","president"]
def sisend(lib, b):
result =[]
for i in lib:
if b in i:
result.append(i)
return result
print(sisend(lib, 'e'))