We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Arithmetic Operators
Arithmetic Operators
+ 0 comments if name == 'main': a = int(input()) b = int(input()) add = a + b print(add)
sub = a - b print(sub) mul = a * b print(mul)
+ 0 comments print(str(a+b) + "\n" + str(a-b) + "\n" + str(a*b))
+ 0 comments print(a+b) print(a-b) print(a*b)
+ 0 comments if name == 'main': a = int(input()) b = int(input()) print(a+b) print(a-b) print(a*b)
+ 0 comments if name == 'main': a = int(input()) b = int(input()) res = a ++ b res1 = a - b res2 = a * b print(res) print(res1) print(res2)
Load more conversations
Sort 876 Discussions, By:
Please Login in order to post a comment