Skip to content

Instantly share code, notes, and snippets.

@stephengruppetta
Created December 7, 2023 09:23
Show Gist options
  • Save stephengruppetta/553f4787ec585d5bcc9663be991a3233 to your computer and use it in GitHub Desktop.
Save stephengruppetta/553f4787ec585d5bcc9663be991a3233 to your computer and use it in GitHub Desktop.
some_names = [
"Robert",
"Ishaan",
"Max",
"Trevor",
"Alexandra",
"Albert",
"Christine",
]
reordered_names = sorted(some_names)
print(*reordered_names, sep="\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment