From dad175746597d133eada9357cb31b705fe80bf84 Mon Sep 17 00:00:00 2001 From: shridhanya06 Date: Thu, 31 Jul 2025 09:45:15 +0530 Subject: [PATCH] changes made in medium1 --- problems/medium/m1.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/problems/medium/m1.py b/problems/medium/m1.py index a402001..0a9e439 100644 --- a/problems/medium/m1.py +++ b/problems/medium/m1.py @@ -6,10 +6,7 @@ def math_operations_menu(a,b,operator): - - - -def math_operations_menu(): + def math_operations_menu(): print("1. Add") print("2. Subtract") print("3. Multiply") @@ -43,7 +40,7 @@ def math_operations_menu(): break else: print("Invalid option") -math_operations_menu() + math_operations_menu() choice = int(input("Enter your choice: ")) @@ -98,9 +95,4 @@ def math_operations_menu(): print("3. Multiply") print("4. Divide") print("5. Modulus") -print("6. Expontential") - - ) - - - \ No newline at end of file +print("6. Expontential") \ No newline at end of file