Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Sep 23rd, 2018
74
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
1.upto(100) do |nr|
if nr % 3 === 0 && nr % 5 === 0
puts 'FizzBuzz'
elsif nr % 3 === 0
puts 'Fizz'
elsif nr % 5 === 0
puts 'Buzz'
else
puts nr
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 3 min ago | 0.39 KB
fix for bid input - Avada theme
PHP | 7 min ago | 0.17 KB
DropItem
Lua | 20 min ago | 0.43 KB
Handle
Lua | 22 min ago | 0.25 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 37 min ago | 0.38 KB
final project
C++ | 60 min ago | 4.85 KB
RFID Scanner rev_03
Arduino | 1 hour ago | 1.93 KB
3 LEDs, different speed
C++ | 1 hour ago | 0.54 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!