diff --git a/sorts/bogosort.py b/sorts/bogosort.py index 2a3d320b0..33eac66bf 100644 --- a/sorts/bogosort.py +++ b/sorts/bogosort.py @@ -44,6 +44,6 @@ if __name__ == '__main__': 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))