Skip to content

Instantly share code, notes, and snippets.

@lucasmelin
Created May 9, 2016 14:05
Show Gist options
  • Save lucasmelin/6c13eeb61d58df90a85cfa64e23efb87 to your computer and use it in GitHub Desktop.
Save lucasmelin/6c13eeb61d58df90a85cfa64e23efb87 to your computer and use it in GitHub Desktop.
BubbleSort Python Implementaton
for i in xrange(len(1)):
for j in xrange(len(1)):
if 1[i]>1[j]:
l[i], l[j] = l[j], l[i]
print (1[i])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment