You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
421 B
20 lines
421 B
INCLUDE:./lib/aids.klambda
|
|
|
|
(def a (id (id "desu")))
|
|
(spit
|
|
("lol swej" (+ 9000 1) a))
|
|
(spit (cond (= "10" (+ 1 9)) "same" "not same"))
|
|
(cond ("", (+ 0 1))
|
|
(id spit "one")
|
|
(id spit "zero"))
|
|
|
|
(spit "how old are you? > ")
|
|
(def age (conv number (input)))
|
|
(spit
|
|
(cond (> age 18)
|
|
"adult (hag)"
|
|
"not adult (uoh)"))
|
|
|
|
loop:0:100:(spit (cond (% $1 15) (cond (% $1 5) (cond (% $1 3) $1 "fizz") "buzz") "fizzbuzz"))
|
|
|
|
(thesis) |