Browse Source

Add files via upload

PythonCoder8 4 years ago
parent
commit
e4d8417c43
1 changed files with 3 additions and 0 deletions
  1. 3 0
      alphabetical-order.py

+ 3 - 0
alphabetical-order.py

@@ -0,0 +1,3 @@
+words = input('Enter any number of words separated with commas: ')
+split_words = words.split(',')
+print(f'Here are the words you entered, arranged in alphabetical order: {tuple(sorted(split_words))}')