Tkinter love calculator


My Tkinter Gui I used python “Ord” function that used ascii number
x=0
for i in n1:
x+=ord(i)
x=(x%100)+1
print(x)

Added if statements to show if you’ll be compatible or not
if x >= 80:
x1 = tk.Label(window, text='wow lovers')
x1.pack()
elif x >= 60:
x2 = tk.Label(window, text='ehhh probably gonna break up')
x2.pack()
else:
x3 = tk.Label(window, text='yall gonna break up')
x3.pack()