# Python 3.X
n, k = map(int, [input('n = '), input('k = ')])
print(k // n, k % n)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
# Python 3.X
n, k = map(int, [input('n = '), input('k = ')])
print(k // n, k % n)