---
Do you like 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:
@pythonlearnerr")
root.geometry("400x400")
question_label = tk.Label(root, text="Do you like 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()