Skip to content

Commit 506ae67

Browse files
committed
black formatting
fixed format
1 parent 9f03e18 commit 506ae67

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/python/radix_sort.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import random
22

3+
34
def radix_sort(arr):
45
# Find the maximum number to know the number of digits
56
max_num = max(arr)
@@ -43,15 +44,12 @@ def main():
4344

4445
print("Random Testing Array")
4546
arr = []
46-
for i in range(0,10):
47-
arr.append(random.randint(0,20))
47+
for i in range(0, 10):
48+
arr.append(random.randint(0, 20))
4849
print("Unsorted array:", arr)
4950
radix_sort(arr)
5051
print("Sorted array:", arr)
5152

5253

53-
54-
55-
5654
if __name__ == "__main__":
5755
main()

0 commit comments

Comments
 (0)