Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages