Python Source Code
Simple & Easy 2 Digit Calculator using Python in only 12 lines .
Code :-
a=int(input('Enter your 1st Number'))
b=int(input('Enter your 2nd Number'))
Operator=input('Enter your Operator')
if (Operator=='+'):
print('Answer :',a+b)
elif (Operator=='-'):
print('Answer :',a-b)
elif (Operator=='*'):
print('Answer :',a*b)
else:
print('Answer :',a/b)
Farenhit To Celcius Using Python .
Code :-
F=input("Enter Temperature in Farenheit :")
C=(float(F)-32)/1.8
print("Temperature in Celcius",C)
Comments