Commit 9bd68fb0 by BellCodeEditor

save project

parent e28ad8a8
Showing with 8 additions and 0 deletions
p=[99,88,77,66,55,44,33,22,11,1]
k=len(p)
for i in range(0,k-1):
for j in range(0,k-1):
if p[j]<p[j+1]:
p[j],p[j+1]=p[j+1],p[j]
print(p)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment