Python: Division Hackerrank Solution
For Explanation Watch Video:
Sample Input 0
4
3
Sample Output 0
1
1.33333333333
Code:
if __name__ == '__main__': a = int(input()) b = int(input()) print(a//b) print(a/b)
Sample Input 0
4
3
Sample Output 0
1
1.33333333333
Code:
if __name__ == '__main__': a = int(input()) b = int(input()) print(a//b) print(a/b)
Comments
Post a Comment