Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions problems/medium/m1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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: "))
Expand Down Expand Up @@ -98,9 +95,4 @@ def math_operations_menu():
print("3. Multiply")
print("4. Divide")
print("5. Modulus")
print("6. Expontential")

)



print("6. Expontential")