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
|
1053 Discussions
|
Please Login in order to post a comment
a = int(input()) b = int(input()) print(a+b) print(a-b) print(a*b)
a = 3 b = 2 print(a+b) print(a-b) print(a*b)
c = 6564424525 d = 323252462 print(c+d) print(c-d) print(c*d) above code is working fine but testcase1 pass but testcase 2 is fail why?
I
a = int(input()) b = int(input()) print(a+b) print(a-b) print(a*b)
a = int(input()) b = int(input()) print(a+b) print(a-b) print(a*b)
if name == 'main': a = int(input()) b = int(input()) print(a+b) print(a-b) print(a*b)