Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
FizzBuzz in Clojure with cond
ptrelford
Sep 25th, 2014
370
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Clojure
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
(
map
(
fn
[
x
]
(
let
[
a
(
mod x
3
)
b
(
mod x
5
)
]
(
cond
(
and
(
=
a
0
)
(
=
b
0
)
)
(
str
"FizzBuzz"
)
(
=
a
0
)
(
str
"Fizz"
)
(
=
b
0
)
(
str
"Buzz"
)
:
else
(
str
x
)
)
)
)
(
range
1
100
)
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
💸Make 500$ in 30 minutes💸
JavaScript | 13 sec ago | 0.19 KB
Free Apple Products ❤️ METHOD
JavaScript | 31 sec ago | 0.35 KB
⭐FREE GIFTCARDS METHOD⭐July 2024
JavaScript | 48 sec ago | 0.18 KB
🤑G2A.com Free Gift Card EXPLOIT July 2024🤑
JavaScript | 1 min ago | 0.18 KB
⭐FREE GIFTCARDS METHOD⭐July 2024
JavaScript | 1 min ago | 0.18 KB
G2A Timezone Glitch
JavaScript | 1 min ago | 0.18 KB
FREE IPHONE 15 PRO REFUNDING GUIDE
JavaScript | 1 min ago | 0.35 KB
Get any giftcard for free [Method]
JavaScript | 2 min ago | 0.18 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!