99 Bottles of Beer/Lisp: Difference between revisions
Content deleted Content added
moving code from main task-page to sub-page / Wart |
|||
Line 119:
(prinl (bottles (dec 'N)) " on the wall.")
(prinl) )</lang>
=={{header|Wart}}==
<lang python>def (beer n)
when (n > 0)
prn n " bottles of beer on the wall"
prn n " bottles of beer"
prn "take one down, pass it around"
prn n-1 " bottles of beer on the wall"
prn ""
beer n-1</lang>
|