Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 20th, 2018
71
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
def my_reverse(a)
reversed = []
a.each do |element|
reversed.unshift(element)
end
reversed
end
p my_reverse([1, 2, 3])
Add Comment
Please,
Sign In
to add comment
Public Pastes
mod192 macro
Motorola 68000 HiSoft Dev | 2 min ago | 0.83 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 3 min ago | 0.39 KB
error imgui
C++ | 15 min ago | 8.89 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 33 min ago | 0.38 KB
Untitled
C++ | 54 min ago | 2.79 KB
ArrayLista primer (Niske)
Java | 57 min ago | 0.73 KB
ДЗ: Работа с конкретными строками/столбцами
C# | 1 hour ago | 1.60 KB
Untitled
Python | 1 hour ago | 0.82 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!