write a program to print the schedule of 1st June 2019. Must be covered by getup time breakfast lunch dinner study time and go to the bed
Answers
Answer:
i=1
day = ["saturday","sunday","monday","tuesday","wednesday","thursday","friday"]
while i < 31:
if i == 2 or i == 9 or i == 16 or i == 23 or i == 30:
print(i)
print(day[1])
print("Get up Time : 10:00am")
print("Breakfast Time : 10:30am")
print("Lunch Time : 12:30pm")
print("Study Time : 5:00pm")
print("Dinner Time : 9:00pm")
print("Bed Time : 10:00pm")
else:
print(i)
if i == 1 or i == 8 or i == 15 or i == 22 or i == 29:
print(day[0])
elif i == 7 or i == 14 or i == 21 or i == 28:
print(day[6])
elif i == 6 or i == 13 or i == 20 or i == 27:
print(day[5])
elif i == 5 or i == 12 or i == 19 or i == 26:
print(day[4])
elif i == 4 or i == 11 or i == 18 or i == 25:
print(day[3])
elif i == 3 or i == 10 or i == 17 or i == 24:
print(day[2])
print("Get up Time : 8:00am")
print("Breakfast Time : 9:00am")
print("Lunch Time : 12:00pm")
print("Study Time : 4:00pm")
print("Dinner Time : 8:00pm")
print("Bed Time : 9:00pm")
i = i + 1
NOTE: you did not mentioned in which language i have to write so i wrote it in python and u did not mention any timings so i assumed my own.