Arithmetic Operators

Sort by

recency

|

1199 Discussions

|

  • + 0 comments

    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)

  • + 0 comments

    add=a+b diff=a-b mul=a*b print(f"{add}\n{diff}\n{mul}\n")

  • + 0 comments

    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

  • + 2 comments

    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

  • + 0 comments

    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