Please solve this, I'll mark you the brainiest
Attachments:
Answers
Answered by
1
Answer:
Do u want in this way
21/06/2021:Monday
Answered by
1
Answer:
HEY A MATE
EXPLAINATION:-
#taken day number from user
weekday =int(input("enter week day number(1-7) :"))
if weekday=1:
print{"\nMonday") ;
elif weekday=2:
print{"\nTuesday") ;
elif weekday=3:
print{"\nWednesday") ;
elif weekday=4:
print{"\nThursday") ;
elif weekday=5:
print {"\nFriday") ;
elif weekday=6:
print {"\nSaturday") ;
elif weekday=7:
print {"\nSunday")
Similar questions