What will be the output of the following program (2)
Ch= int ("Enter Day of week (1 to 7 "))
if ch==1:
print ("Monday")
elif ch==2:
print ("Tuesday")
elif ch==3:
print ("Wednesday")
elif ch=
print ("Thursday")
elif ch==5:
print ("Friday")
elif ch==6:
print ("Saturday")
elif ch==7:
print ("Sunday")
else:
print ("Entered a wrong week day")
a) if we input 5 b) if we input 10
Answers
Answered by
1
Answer:
a)if we input 5 answer will be Fridaay
b)if we input 10 answer will be Entered a wrong week day
pls mark me a brainliest answer
thanks
Similar questions