From c05fde0d21e4b94ace1b611cffe8757bb197198d Mon Sep 17 00:00:00 2001 From: amanbajpai02 <42239254+amanbajpai02@users.noreply.github.com> Date: Thu, 4 Oct 2018 00:33:44 +0530 Subject: [PATCH] update --- calculator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calculator.py b/calculator.py index 882d373..8fd2814 100644 --- a/calculator.py +++ b/calculator.py @@ -16,9 +16,9 @@ def clear(): Button(root,text='8',height=5,width=10,bd=5,command=lambda:insert(8)).grid(row=1,column=2) Button(root,text='7',height=5,width=10,bd=5,command=lambda:insert(7)).grid(row=1,column=3) Button(root,text='c',height=5,width=10,bd=5,command=lambda:clear()).grid(row=1,column=4) -Button(root,text='6',height=5,width=10,bd=5,command=lambda:insert(6)).grid(row=2,column=1) +Button(root,text='4',height=5,width=10,bd=5,command=lambda:insert(4)).grid(row=2,column=1) Button(root,text='5',height=5,width=10,bd=5,command=lambda:insert(5)).grid(row=2,column=2) -Button(root,text='4',height=5,width=10,bd=5,command=lambda:insert(4)).grid(row=2,column=3) +Button(root,text='6',height=5,width=10,bd=5,command=lambda:insert(6)).grid(row=2,column=3) Button(root,text='+',height=5,width=10,bd=5,command=lambda:insert('+')).grid(row=2,column=4) Button(root,text='3',height=5,width=10,bd=5,command=lambda:insert(3)).grid(row=3,column=1)