simple python code for calculator code example
Example: calculator in python
#Calculator in python
#No modules required
qus = input('')
if(qus=='ADDITON'):
no1 = int(input())
no2 = int(input())
print(no1+no2)
if(qus=='MULTIPLICATION'):
no1 = int(input())
no2 = int(input())
print(no1*no2)
if(qus=='DIVISION'):
no1 = int(input())
no2 = int(input())
print(no1/no2)
if(qus=='SUBTRACTION'):
no1 = int(input())
no2 = int(input())
print(no1-no2)