ARITHMETIC OPERATIONS CODES IN PYTHON:
INPUT:-
a=2
b=5
# Arithmetic operators
print("The value of 2+5 is" , 2+5)
print("The value of 2-5 is ", 2-5)
print("The value of 2*5 is ", 2*5)
print("The value of 2/5 is ", 2/5)
OUTPUT:-
The value of 2+5 is 7
The value of 2-5 is -3
The value of 2*5 is 10
The value of 2/5 is 0.4
\\CODING_ADDA
THANKS.....
0 Comments