Question: using python 1 Assume the days of the week are numbered 0,1,2,3,4,5,6 from Sunday to Saturday Write a function which is given the day number,



1 Assume the days of the week are numbered 0,1,2,3,4,5,6 from Sunday to Saturday Write a function which is given the day number, and it returns the day name (a string). Please use a series of "if" statements to answer this exercise. Give the logical opposites of these conditions (a) a > b (b) a >= b (c) a >= 18 and day == 3 (d) a >= 18 and day! = 3 IS What do these expressions evaluate to? (are they true or false?) [21 (a) 3 == 3 (b)3 != 3 (c) 3 >= 4 (d) not (3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
