from tkinter import *
arr = ['Мама','Папа']
root = Tk()
e = Entry(root)
e.grid(row=0, column=0)
l = Listbox(root)
l.grid(row=1, column=0)
def serch():
for i in range(len(arr)):
if e.get() in arr[i]:
l.delete(0, END)
l.insert(END, arr[i])
e.delete(0, END)
e.insert(END, arr[i])
b = Button(root, text='Serch', command=serch)
b.grid(row=0, column=1)
root.mainloop()