fork download
  1. proc divmod(a, b: int) : tuple[re, remainder: int] = (a div b, a mod b)
  2. echo divmod(8, 5)
Success #stdin #stdout 0s 2432KB
stdin
Standard input is empty
stdout
(re: 1, remainder: 3)