Add files via upload

This commit is contained in:
Mateusz779 2021-12-15 19:41:30 +01:00 committed by GitHub
parent d76cb59182
commit c2eb8e633c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,9 +12,7 @@ def sort_func(sort=[],repeat=False):
while (t): while (t):
for i in range(0,le-1): for i in range(0,le-1):
if sort[i] > sort[i + 1]: if sort[i] > sort[i + 1]:
tmp1 = sort[i]; sort[i], sort[i + 1] = sort[i + 1], sort[i];
sort[i] = sort[i + 1];
sort[i + 1] = tmp1;
j = 0; j = 0;
elif sort[i] == sort[i + 1] and repeat==False: elif sort[i] == sort[i + 1] and repeat==False:
del sort[i] del sort[i]