-
-
Save parzibyte/c1a69a3edf5aa6841bdbb5003f4dd535 to your computer and use it in GitHub Desktop.
This file contains 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
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