What is Nostr?
dave /
npub1tsg…htk4
2023-02-08 10:20:55
in reply to nevent1q…mp9s

dave on Nostr: s = [20, 9, 19, 18, 8, 7, 6] for i in range(len(s)): for j in range(len(s)-i-1): if ...

s = [20, 9, 19, 18, 8, 7, 6]

for i in range(len(s)):
for j in range(len(s)-i-1):
if s[j] > s[j+1]:
s[j], s[j+1] = s[j+1], s[j]

print(s)
Author Public Key
npub1tsgw6pncspg4d5u778hk63s3pls70evs4czfsmx0fzap9xwt203qtkhtk4