Skip to content

Commit ec0e59b

Browse files
authored
Add files via upload
2025/7/18
1 parent 9f10314 commit ec0e59b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sorting/Radix_Sort.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ def RadixSort(arr):
5151
while max1//exp>0:
5252
CountingSort(arr,exp)
5353
exp*=10
54-
54+
#main function to test the radix_sort function
5555
if __name__=="__main__":
5656
arr=[170,60,902,2,13,24,35,76,67]
5757
print(f"Unsort List:{arr}")
5858

59-
print("Sorted List:")
59+
print("Sorted List(radix_sort):")
6060
RadixSort(arr)
6161
for i in range(len(arr)):
62-
print(arr[i],end=" ")
62+
print(arr[i],end=" ")

0 commit comments

Comments
 (0)