Calculator Using Python
Calculator Using Python
CODE
a=int(input("enter a number :- "))
c=(input("enter the operator :- "))
b=int(input("enter other number :- "))
if c=="+":
print("the sum of number is",a+b)
if c=="-":
print("the difference in number is",a-b)
if c=="*":
print("the multiplication of number is",a*b)
if c=="/":
print("the division of numbers is",a/b)
Comments
Post a Comment