Arithmetic Operators

Sort by

recency

|

1152 Discussions

|

  • + 0 comments

    For Python3 Platform

    a = int(input())
    b = int(input())
    
    print(a + b)
    print(a - b)
    print(a * b)
    
  • + 0 comments

    a = int(input()) b = int(input()) if (1<=a<=10**10): print(a+b) print(a-b) print(a*b)

  • + 0 comments
    if __name__ == '__main__':
        a = int(input())
        b = int(input())
        print(a+b)
        print(a-b)
        print(a*b)
    
  • + 0 comments

    print(a + b, a - b, a * b, sep="\n")

  • + 0 comments

    a= int(input()); b=int(input()); print(a+b) print(a-b) print(a*b)