Arithmetic Operators

  • + 0 comments

    if name == 'main': a = int(input()) b = int(input())

    if 1 <= a <= 10**10 and 1 <= b <= 10**10:
        print(a + b)     # Sum
        print(a - b)     # Difference
        print(a * b)     # Product
    else:
        print("Inputs must be between 1 and 10^10.")