Menu

[solved] – Question 91995

Write a function that takes two parameters (days_count:int, current_day: str)
where the current_day is anything from [“sun”, “mon”, “tue”, “wed”, “thur”, “fri”, “sat”]
and returns the day that occurs after the number of days_count

defget_day(days_count, current_day):
# your code here

return
example:
get_day(3, “mon”) # result ——–> “thur”
get_day(10, “wed”) # result ——–> “sat”

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *