Python: Division
This is Hacker Rank Solution for Python Division Challenge
Task The provided code stub reads two integers, a and b, from STDIN.
Add logic to print two lines. The first line should contain the result of integer division, a // b. The second line should contain the result of float division, a / b.
No rounding or formatting is necessary.
REQUIREMENTS You don't need to perform any rounding or formatting operations.
Input Format The first line contains the first integer, a. The second line contains the second integer, b.
Output Format Print the two lines as described above.
Enter your code here. Read input from STDIN. Print output to STDOUT if name == 'main': a = int(input()) b = int(input()) print (a // b) print (a / b)