Question 4
Write A Program which assigns values to variables day_of_week, day_of_month and month. Print Date
Code:
# Day of week day_of_week = "Monday" # Day of Month day_of_month = "27th" # Month month = "January" # Print out the sentence print(day_of_week, " the ", day_of_month, " of ", month)
Output:
Monday the 27th of January