Skip to content

Commit 756ca4f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d2921ce commit 756ca4f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sorts/pancake_sort.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# sorts/pancake_sort.py
1+
# sorts/pancake_sort.py
22
"""
33
This is a pure Python implementation of the pancake sort algorithm
44
For doctests run following command:
@@ -60,4 +60,3 @@ def pancake_sort(arr: Sequence[T]) -> list[T]:
6060
user_input = input("Enter numbers separated by a comma:\n").strip()
6161
unsorted = [int(item) for item in user_input.split(",")]
6262
print(f"{pancake_sort(unsorted) = }")
63-

0 commit comments

Comments
 (0)