We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4b4b7b commit ac30a97Copy full SHA for ac30a97
sorts/bogosort.py
@@ -44,6 +44,6 @@ def isSorted(collection):
44
except NameError:
45
raw_input = input # Python 3
46
47
- user_input = raw_input('Enter numbers separated by a comma:\n').stript()
+ user_input = raw_input('Enter numbers separated by a comma:\n').strip()
48
unsorted = [int(item) for item in user_input.split(',')]
49
print(bogosort(unsorted))
0 commit comments