Ticker

6/recent/ticker-posts

Header Ads Widget

Responsive Advertisement

ARITHMETIC OPERATIONS CODES IN PYTHON

 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.....




Post a Comment

0 Comments