Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created April 2, 2019 15:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save parzibyte/c1a69a3edf5aa6841bdbb5003f4dd535 to your computer and use it in GitHub Desktop.
def get_day_name(number_of_day):
days = {
0: "Sunday",
1: "Monday",
#Here the other days...
}
return days.get(number_of_day, "Unknow")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment