Merge pull request #323 from Wayde2014/master

typo: strip
This commit is contained in:
Christian Bender 2018-07-22 18:09:00 +02:00 committed by GitHub
commit 9faaebcc80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,6 @@ if __name__ == '__main__':
except NameError: except NameError:
raw_input = input # Python 3 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(',')] unsorted = [int(item) for item in user_input.split(',')]
print(bogosort(unsorted)) print(bogosort(unsorted))