Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
BubbleSort
#python 3.5.2 def bubbleSort(nlist): for passnum in range(len(nlist)-1,0,-1): for i in range(passnum): if nlist[i]>nlist[i+1]: nlist[i],nlist[i+1] = nlist[i+1],nlist[i] nlist = [14,46,43,27,57,41,45,21,70] bubbleSort(nlist) print(nlist)
run
|
edit
|
history
|
help
1
Name
питон
calculate the sum of string 201test70de88qa ( only numbers)
inverse matrix gauss jordan
Python: Functions I : Functions with messages.
PySlots3
Moore Voting Algorithm
quiz1
Faiha Lesson 2
even no