In this **HackerRank Arithmetic Operators** problem set, we need to develop a python program that can take two lines of integer inputs **a** and **b**. and then we need to print the **addition** on the first line and **subtraction**, on the second line, and **multiplication** on the third line of a and b on the output screen.

## Problem solution in Python 2 programming.

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

## Problem solution in Python 3 programming.

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

### Problem solution in pypy programming.

# Enter your code here. Read input from STDIN. Print output to STDOUT s=input() p=input() print s+p print s-p print s*p

### Problem solution in pypy3 programming.

# Enter your code here. Read input from STDIN. Print output to STDOUT a = int(input()) b = int(input()) print(a+b) print(a-b) print(a*b)

## 0 Comments