File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ #Made My Anirudha Kumar
2
+ while(True):
3
+ print("Select Your Operator")
4
+ print("1. Adition")
5
+ print("2. Subtaction")
6
+ print("3. Multiplication")
7
+ print("4. Division")
8
+ operator = input("Select your operator (1/2/3/4) : ")
9
+ x = int(input("Enter Your First Number : "))
10
+ y = int(input("Enter Your Secound Number : "))
11
+ if operator == "1":
12
+ print("Sum Of These Numbers Is : ", int(x) + int(y))
13
+ if operator == "2":
14
+ print("Subtracted Number is : ", int(x)-int(y))
15
+ if operator == "3":
16
+ print("Multiplication of Number is : ", int(x)*int(y))
17
+ if operator == "4":
18
+ print("Divided Number is : ", int(x)/int(y))
19
+ else:
20
+ z = input("Press Y to countinue And N to stop : ")
21
+ if z == "N":
22
+ print("Thanks ... See You Again")
23
+ break
You can’t perform that action at this time.
0 commit comments