Roman numerals/Encode: Difference between revisions

Content added Content deleted
(Improved RPL code with comments)
Line 6,213: Line 6,213:
q, r = divmod(a, m)
q, r = divmod(a, m)
return (r, s * q)
return (r, s * q)

return concat(snd(mapAccumL(go)(n)(
return concat(snd(mapAccumL(go)(n)(
zip([
zip([