Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 23rd, 2018
74
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.10 KB
| None
|
0
0
raw
download
clone
embed
print
report
vec = 0..30
vec.select {|i| i % 3 == 0}.map {|i| i*2}
# => [0, 6, 12, 18, 24, 30, 36, 42, 48, 54, 60]
Add Comment
Please,
Sign In
to add comment
Public Pastes
Aura
HTML | 8 min ago | 6.34 KB
Untitled
C++ | 42 min ago | 1.27 KB
main.py
Python | 42 min ago | 1.45 KB
idleonfs
JavaScript | 45 min ago | 0.19 KB
ccStairMiner
Lua | 58 min ago | 1.37 KB
extract_text 2.0
Python | 1 hour ago | 2.08 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Untitled
C++ | 1 hour ago | 0.74 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!