Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 21st, 2019
77
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
>>> tuples = [(2,1), (2,9), (3, 8), (1,3), (1,2), (1,1)]
>>> tuples.sort(key=lambda t: t[0])
>>> tuples
[(1,3), (1,2), (1,1), (2,1), (2,9), (3, 8)]
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
JavaScript | 12 min ago | 1.32 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 15 min ago | 0.38 KB
CAAB Basalt coin gen
Lua | 28 min ago | 1.08 KB
Untitled
C++ | 1 hour ago | 2.35 KB
Untitled
C++ | 1 hour ago | 2.92 KB
knuth morris pratt algorithm c#
C# | 1 hour ago | 2.08 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
boyer moore algorithm c#
C# | 1 hour ago | 3.71 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!