Jul-27-2020, 09:49 AM
You are only defining the function
day_of_the_week()
, which by the way should take a parameter day_of_the_week(n)
, but you are not using it. Functions need to be called to work. Here is how to do it:print("The day of the week is ", day_of_the_week(n))