Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 19th, 2018
82
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Ruby
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
1
.
upto
(
100
)
{
|
i
|
if
i
%
3==
0
s
+
=
"fizz"
end
if
i
%
5==
0
s
+
=
"buzz"
end
if
i
%
3!=
0
&&
i
%
5!=
0
s
+
=
"#{i}"
end
puts
"#{s}"
s=
""
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
3nf table normalization
MySQL | 9 min ago | 1.02 KB
2 log
HTML | 20 min ago | 0.07 KB
asdas
JavaScript | 20 min ago | 1.26 KB
Script sirena
YAML | 42 min ago | 3.30 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 59 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Check Apache Config
Bash | 1 hour ago | 1.21 KB
stop backup jobs stucked at "Stopping&qu...
PostgreSQL | 1 hour ago | 0.64 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!