Skip to content

Commit 7023837

Browse files
benfeinmrmaxguns
andauthored
Update sorts/recursive_mergesort_array.py
Co-authored-by: Maxim R. <[email protected]>
1 parent d022cfa commit 7023837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/recursive_mergesort_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def merge(arr: list[int]) -> list[int]:
77
>>> merge([10,22,1,2,3,9,15,23])
88
[1, 2, 3, 9, 10, 15, 22, 23]
99
"""
10-
if(len(arr) > 1):
10+
if len(arr) > 1:
1111
middle_length = len(arr) // 2
1212
left_array = arr[:middle_length]
1313
right_array = arr[middle_length:]

0 commit comments

Comments
 (0)