Get Mystery Box with random crypto!

--- Do you love me Source Code --- import tkinter as tk impo | PythonNotes

--- Do you love me Source Code ---


import tkinter as tk
import random

def show_popup():
popup = tk.Toplevel(root)
popup.title("Popup")
label = tk.Label(popup, text="Thanks for Accepting")
label.pack(padx=20, pady=20)

def move_button(event):
x = random.randint(0, 350)
y = random.randint(0, 350)
no_button.place(x=x, y=y)

root = tk.Tk()
root.title("instagram: @pythonnotes1")
root.geometry("400x400")

question_label = tk.Label(root, text="Do you love me?")
question_label.pack(pady=20)

yes_button = tk.Button(root, text="Yes", command=show_popup)
yes_button.pack()

no_button = tk.Button(root, text="No")
no_button.pack()

no_button.bind("", move_button)

root.mainloop()