Arithmetic Operators

Sort by

recency

|

1160 Discussions

|

  • + 0 comments

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

    print(a+b)
    print(a-b)
    print(a*b)
    
  • + 1 comment
    if __name__ == '__main__':
        a = int(input())
        b = int(input())
        if 1<=a<=10**10 and 1<=a<=10**10:
            print(a+b)
            print(a-b)
            print(a*b)
    
  • + 0 comments

    I am new here. But i enjoyed solving these easy problems.

  • + 0 comments
    print("{}\n{}\n{}".format(a+b,a-b,a*b))
    
  • + 0 comments

    A Civil Lawyer might help if there's a legal dispute over contracts related to calculations or business agreements, but solving basic math like this isn't their specialty.