HackerRank Arithmetic Operators Problem Solutions

HackerRank Arithmetic Operators Problem Solutions

Instructor-svgAl-Mamun Sarkar
Mar 23 , 2020

HackerRank Arithmetic Operators Problem Solutions

Code:

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

Example Input:

3
2

Output:

5
1
6
  • Share On:
  • fb
  • twitter
  • pinterest
  • instagram