Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 10th, 2018
84
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
def insertion_sort(n):
for p in range(1, len(n)):
i = p
while i != 0 and n[i] < n[i-1]:
n[i-1], n[i] = n[i], n[i-1]
i -= 1
return n
Add Comment
Please,
Sign In
to add comment
Public Pastes
guessnummodified
Python | 9 min ago | 1.93 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 54 min ago | 0.39 KB
nytimes soduko auto solver
JavaScript | 1 hour ago | 3.08 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 2 hours ago | 0.38 KB
2024-05-05_stats.json
JSON | 2 hours ago | 5.73 KB
2024-05-05_stats.json
JSON | 2 hours ago | 5.72 KB
2024-05-05_stats.json
JSON | 2 hours ago | 5.67 KB
Untitled
Lua | 2 hours ago | 0.62 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!