Skip to content

Commit 9faaebc

Browse files
author
Christian Bender
authored
Merge pull request TheAlgorithms#323 from Wayde2014/master
typo: strip
2 parents ae51489 + ac30a97 commit 9faaebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/bogosort.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ def isSorted(collection):
4444
except NameError:
4545
raw_input = input # Python 3
4646

47-
user_input = raw_input('Enter numbers separated by a comma:\n').stript()
47+
user_input = raw_input('Enter numbers separated by a comma:\n').strip()
4848
unsorted = [int(item) for item in user_input.split(',')]
4949
print(bogosort(unsorted))

0 commit comments

Comments
 (0)