diff --git a/my_window.py b/my_window.py
index f767680..037a8d9 100644
--- a/my_window.py
+++ b/my_window.py
@@ -1,5 +1,7 @@
 import tkinter as tk
 root=tk.Tk()
+def register():
+    print(1)
 root.title("注册")
 root.geometry("500x400+500+300") #数字×数字=大小 数字=x 数字=y
 e=tk.Entry(root,show="*",font=("宋体",14),bg="light grey",width=18)
@@ -14,6 +16,9 @@ w=tk.Label(root,text="密码:",font=("宋体",14),fg="red")
 w.place(x=160,y=60)
 e=tk.Label(root,text="确认密码:",font=("宋体",14),fg="red")
 e.place(x=120,y=80)
-r=tk.Button(root,text="提交",fg="blue",width=13)
+r=tk.Button(root,text="提交",bg="lightgreen",width=13,
+            command=register)
 r.place(x=150,y=250)
-root.mainloop()
\ No newline at end of file
+root.mainloop()
+
+