HackerRank- Python: Division


Problem 4:

Read two integers and print two lines. The first line should contain integer division, a // b. The second line should contain float division, a / b.

  1. if __name__ == '__main__':
  2. a = int(input())
  3. b = int(input())
  4. print(a//b)
  5. print(a/b)

download android app