Arithmetic Operators

Sort by

recency

|

1219 Discussions

|

  • + 1 comment

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

  • + 0 comments

    Read two integers from STDIN

    a = int(input()) b = int(input())

    Print the results

    print(a + b) # Sum print(a - b) # Difference print(a * b) # Product

  • + 0 comments

    Python is such a powerful and beginner-friendly language! 🐍 Perfect for everything from data analysis to web development. t20 exchange ID

  • + 0 comments

    if a >= b: print(a+b , a-b ,a*b ,sep="\n") else: print(b+a,b-a,b*a,sep="\n")

  • + 0 comments

    For Python3 Platform

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