Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
# sort_list_a_by_list_b.py
here2share
Sep 8th, 2015
246
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
# sort_list_a_by_list_b.py
X
=
[
"t"
,
"n"
,
"h"
,
"!"
,
"y"
,
"P"
,
"o"
]
Y
=
[
3
,
6
,
4
,
7
,
2
,
1
,
5
]
print
''
.
join
(
[
x
for
(
y
,
x
)
in
sorted
(
zip
(
Y
,
X
)
,
key
=
lambda
pair: pair
[
0
]
)
]
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
ChangeNOW Bug (Get more on BTC swaps)
JavaScript | 8 sec ago | 0.25 KB
Exchange Exploit
JavaScript | 10 sec ago | 0.25 KB
✅ MAKE $2500 IN 15 MIN
JavaScript | 10 sec ago | 0.25 KB
⭐⭐⭐Make $15OO in 2O minutesV E⭐⭐⭐
Java | 11 sec ago | 0.06 KB
✅ Swapzone Profit Method
JavaScript | 21 sec ago | 0.25 KB
Free Crypto Method ✅ NEVER SEEN BEFORE
JavaScript | 22 sec ago | 0.25 KB
⭐⭐⭐GMAIL Logs (2FA disabled)⭐⭐⭐
Java | 22 sec ago | 0.06 KB
Free Crypto Method ✅ NEVER SEEN BEFORE
JavaScript | 32 sec ago | 0.25 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!