Arithmetic Operators Hackerrank Solution Python
For Explanation Watch Video:
Sample Input 0
3
2
Sample Output 0
5
1
6
Code:
if __name__ == '__main__': a = int(input()) b = int(input()) print(a+b) print(a-b) print(a*b)
Sample Input 0
3
2
Sample Output 0
5
1
6
Code:
if __name__ == '__main__': a = int(input()) b = int(input()) print(a+b) print(a-b) print(a*b)
Comments
Post a Comment