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
|
1199 Discussions
|
Please Login in order to post a comment
import math as m a=int(input()) b=int(input()) add=a+b minus=a-b multiply=a*b print(add) print (minus) print(multiply)
add=a+b diff=a-b mul=a*b print(f"{add}\n{diff}\n{mul}\n")
a = int(input()) b = int(input()) add = a + b diff = a - b product = a * b if (1 <= a <= 10**10 and 1 <= b <= 10**10): print(add) print(diff) print(product) else: None
I think some issues are there at server side, since after successfull typing of the program, its showing the test case error, develoiper plz check it. Since its a very good webside to go the practice and learning.
thank you
if name == 'main': a = int(input()) b = int(input()) print(3 + 2) print(3 - 2) print(3 * 2)
This is how it looks and I do not understand where the error really exists if the numbers are reight ? Is there something that I am not doing right