Skip to content

Commit

Permalink
Merge pull request TheAlgorithms#323 from Wayde2014/master
Browse files Browse the repository at this point in the history
typo: strip
  • Loading branch information
Christian Bender authored Jul 22, 2018
2 parents ae51489 + ac30a97 commit 9faaebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sorts/bogosort.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ def isSorted(collection):
except NameError:
raw_input = input # Python 3

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

0 comments on commit 9faaebc

Please sign in to comment.