i am working with sqlite and tkinter. my words being saved in table are written in lowercase. i want the entry widget to accept uppercase and lowercase. so when i input the word in either uppercase or lowercase, the definition will show up. this is my code. what should i add to it to achieve my aim
root = tk.Tk()
root.geometry("400x265")
root.resizable(width=False, height= False)
root.title("Dic")
root.configure(background='skyblue')
########### DEF FOR SEARCH #######
def search():
conn= sqlite3.connect('Example.db')
cur= conn.cursor()
data= v.get()
data.upper()
cur.execute("SELECT definition FROM tables WHERE Word= ?", (data,))
var= cur.fetchone()
tex.delete(1.0,"end")
tex.insert("end", var)