Commit a30c96bd by ajil.k

updated

parent 5f5016d0
...@@ -17,7 +17,7 @@ num1 = float(input("Enter the first number: ")) ...@@ -17,7 +17,7 @@ num1 = float(input("Enter the first number: "))
num2 = float(input("Enter the second number: ")) num2 = float(input("Enter the second number: "))
i=1 i=1
while(i==1): while(i==1):
ch=int(input("------Enter Your Choice------\n1.Add\n2.Subtract\n3.Multiply\n4.Divide\n5.Modulus\n6.Enter 0 to exit\n")) ch=int(input("------Enter Your Choice------\n1.Add\n2.Subtract\n3.Multiply\n4.Divide\n5.Modulus\n6.Enter 0 to exit\n----------------------"))
if ch==0: if ch==0:
i=0 i=0
elif ch==1: elif ch==1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment