-
-
Save parzibyte/f7f5d0a58a08323a645a5ce1207c5d65 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): | |
if number_of_day is 0: | |
return "Sunday" | |
elif number_of_day is 1: | |
return "Monday" | |
# Here more ifs... | |
else: | |
return "Unknow" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment