Created
February 22, 2020 19:18
-
-
Save mayankdawar/09f3b402d255dcbb40c5a7b0cdbd7182 to your computer and use it in GitHub Desktop.
Write code to rearrange the strings in the list winners so that they are in alphabetical order from A to Z.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| winners = ['Kazuo Ishiguro', 'Rainer Weiss', 'Youyou Tu', 'Malala Yousafzai', 'Alice Munro', 'Alvin E. Roth'] | |
| winners.sort() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment