Skip to content

Instantly share code, notes, and snippets.

@mayankdawar
Created February 22, 2020 19:18
Show Gist options
  • Select an option

  • Save mayankdawar/09f3b402d255dcbb40c5a7b0cdbd7182 to your computer and use it in GitHub Desktop.

Select an option

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.
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