typo: strip

This commit is contained in:
PandllCom 2018-06-26 10:55:21 +08:00 committed by GitHub
parent d4b4b7ba35
commit ac30a97e99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))