Githugutech / Arithmetic-Operators

This is a HackerRank Arithmetic Operators Challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arithmetic-Operators

This is a HackerRank Arithmetic Operators Challenge

Task Read two integers from STDIN and print three lines where:

  1. The first line contains the sum of the two numbers.
  2. The second line contains the difference of the two numbers (first - second).
  3. The third line contains the product of the two numbers.

Input Format The first line contains the first integer, a. The second line contains the second integer, b.

Constraints 1 <= a <= 1010 1 <= b <= 1010

if name == 'main': a = int(input()) b = int(input()) print (a + b) print (a - b) print (a * b)

About

This is a HackerRank Arithmetic Operators Challenge


Languages

Language:Jupyter Notebook 99.7%Language:Python 0.3%