# Chapter 21 example: multiple return values. def divmod_custom(a, b): return a // b, a % b q, r = divmod_custom(17, 5) print(q, r) # 3 2 print(divmod_custom(20, 6)) # (3, 2)