Skip to content

Commit 305d860

Browse files
Merge pull request #1455 from DontEatThemCookies/master
Fixed an error in an algorithm program
2 parents cef7442 + edc8531 commit 305d860

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sorting Algorithims/Cycle Sort.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,5 @@ def cycleSort(array):
4747

4848
print("After sort : ")
4949
for i in range(0, n) :
50-
print(arr[i], end = \' \')
50+
print(arr[i], end=' ')
51+
print() # Print a newline

0 commit comments

Comments
 (0)