From 553bf287056080bdec6ac38adcd1dd47f3114181 Mon Sep 17 00:00:00 2001 From: Zahid Khan Date: Mon, 11 May 2026 21:48:26 +0530 Subject: [PATCH] Fix typo in variable name for operations --- calculator/calculator.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/calculator/calculator.py b/calculator/calculator.py index ae49646..6462b40 100644 --- a/calculator/calculator.py +++ b/calculator/calculator.py @@ -6,14 +6,14 @@ #adding conditionals -if operetions == '+': +if operations == '+': print("Result:", a + b) -elif operetions == '-': +elif operations == '-': print ('Result:', a-b) -elif operetions == '': +elif operations == '': print ('Result:', a*b) -elif operetions == '/': - print ('Result:' , a/b ) \ No newline at end of file +elif operations == '/': + print ('Result:' , a/b )