Commit 78c63062 by BellCodeEditor

save project

parent 92449b0c
Showing with 16 additions and 5 deletions
list1 = []
for a in range(0, 1000):
for b in range(0, 1000):
list1.insert(0, 0)
\ No newline at end of file
#
def c(list1):
a=len(list1)
b=()
for i in range(a-1):
for j in range(i+1,a):
if list1[i] < list1[j]:
b=list1[i]
list1[i]=list1[j]
list1[j]=b
print(list1)
list1=[65484,356437,322,43,434,45,45,454,3,43,43,3,43,4324,543,543,665,77,8,75,645,65,78,6,7657,76,86,5,6,8,87,56,4.56,66,6,65,65,4]
c(list1)
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