Get Student Names

Published by Kavin Umasankar in

Create a function that takes a dictionary of student names and returns a list of student names in alphabetical order.

Examples

get_student_names({
  "Student 1" : "Steve",
  "Student 2" : "Becky",
  "Student 3" : "John"
}) ➞ ["Becky", "John", "Steve"]

Notes

  • Don't forget to return your result.
  • If you get stuck on a challenge, find help in the Resources tab.
  • If you're really stuck, unlock solutions in the Solutions tab.
Watch a quick demo on how Edabit works.