how to sort the words alphabetically? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

how to sort the words alphabetically?

Try to write a code to sort the words alphabetically with your programming language For example: myList = ['Stem', 'Python', 'Java', 'Flax', 'Word', 'String'] print (sorted(myList )) Out: ['Flax', 'Java', 'Python', 'Stem', 'String', 'Word'] https://code.sololearn.com/cjcTQEETiqzR

14th Nov 2017, 5:43 PM
Ahmed Ahmed
Ahmed Ahmed - avatar
1 Answer
+ 2
That is not a challenge: it's a language comparison.
14th Nov 2017, 5:36 PM
Amaras A
Amaras A - avatar