From bc3b187ae3d58a3a98b27d4703ca2514173564e2 Mon Sep 17 00:00:00 2001 From: sahil-python <67292423+sahil-python@users.noreply.github.com> Date: Thu, 1 Oct 2020 20:18:25 +0530 Subject: [PATCH] Update Calculator.py --- Calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Calculator.py b/Calculator.py index 183a39f..c4204c2 100644 --- a/Calculator.py +++ b/Calculator.py @@ -42,7 +42,7 @@ def button_equal(): e.insert(0, f_num * int(second_number)) if math == "division": - e.insert(0, f_num + int(second_number)) + e.insert(0, f_num / int(second_number)) def button_subtract(): first_number = e.get()