Advertisement
Guest User

Tail

a guest
Dec 6th, 2019
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. :- %say
  2. |= *
  3. :- %noun
  4. =| i=@
  5. =| result=@
  6. |-
  7. ?: =(i 10)
  8. result
  9. =/ part=@
  10. ?: =((mod i 2) 0)
  11. i
  12. 0
  13. $(result (add result part), i +(i))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement