Day Name
This Program name is Day Name. Write a Python program to Day Name, it has two test cases
The below link contains Day Name question, explanation and test cases
https://drive.google.com/file/d/1S-OaOLA16zDWLo8MVkcc22Q30kLxaz3H/view?usp=sharing
We need exact output when the code was run
D=int(input())
if D==1:
print("Monday")
elif D==2:
print("Tuesday")
elif D==3:
print("Wednesday")
elif D==4:
print("Thursday")
elif D==5:
print("Friday")
elif D==6:
print("Saturday")
elif D==7:
print("Sunday")
Comments
Leave a comment