(24.)
Rewrite the following code fragment that saves on the number comparisons : week_day=int(input("Enter any number (1-7) -> "))
if week_day==1: print("The day is Monday")
if week_day==3:
print("The day is Wednesday")
if week_day==5:
print("The day is Friday")
if week_day==7:
print("The day is Sunday")
of
Answers
Answered by
0
Answer:
Rewrite the following code fragment that saves on the number comparisons : week_day=int(input("Enter any number (1-7)
Similar questions