Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Kata 8/22 Fizz Buzz
ZaBlanc
Aug 22nd, 2011
570
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Ruby
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
class
FizzBuzz
def
self
.
fizz
(
num
)
case
when
num
%
15
==
0
"FizzBuzz"
when
num
%
3
==
0
"Fizz"
when
num
%
5
==
0
"Buzz"
else
num.
to_s
end
end
end
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Swapzone Glitch (Working)
JavaScript | 8 sec ago | 0.31 KB
Profit Method
JavaScript | 15 sec ago | 0.31 KB
Instant Profit Method
JavaScript | 21 sec ago | 0.31 KB
✅ MAKE $900 INSTANTLY
JavaScript | 26 sec ago | 0.31 KB
ChangeNOW Bug (Get more on BTC swaps)
JavaScript | 38 sec ago | 0.31 KB
✅ Exploit 500$ in 15 Minutes
JavaScript | 44 sec ago | 0.31 KB
✅ Make $15OO in 2O minutesV Z
JavaScript | 55 sec ago | 0.28 KB
✅ MAKE $500 IN 15 MIN
JavaScript | 56 sec ago | 0.31 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!