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
Sort by
recency
|
1135 Discussions
|
Please Login in order to post a comment
if name == 'main': a = int(input()) b = int(input()) print(f"{a + b}\n{a - b}\n{a*b}")
if name == 'main': a = int(input()) b = int(input()) print(f"{a + b}\n{a - b}\n{a*b}")
Python Solution:
if name == 'main': a = int(input()) b = int(input()) print(a+b,a-b,a*b, sep = "\n")