diff --git a/My cal.py b/My cal.py index d5be8a4..22ec89e 100644 --- a/My cal.py +++ b/My cal.py @@ -37,7 +37,9 @@ def equlbut(): operator='' def clrbut(): - textin.set('') + global operator + operator = "" + textin.set("") metext=Entry(me,font=("Courier New",12,'bold'),textvar=textin,width=25,bd=5,bg='powder blue') @@ -94,5 +96,3 @@ def clrbut(): butequal=Button(me,padx=151,pady=14,bd=4,bg='white',command=equlbut,text="=",font=("Courier New",16,'bold')) butequal.place(x=10,y=380) me.mainloop() - - diff --git a/README.md b/README.md index da5b7e3..c708219 100644 --- a/README.md +++ b/README.md @@ -1 +1,5 @@ -# Calculator-in-python3-tkinter \ No newline at end of file +# Python GUI Calculator +Using Tkinter GUI Lib. +## Screenshot: +[![Screenshot](ScreenShot.png)]() +*** diff --git a/ScreenShot.png b/ScreenShot.png new file mode 100644 index 0000000..faff025 Binary files /dev/null and b/ScreenShot.png differ