5

import datetime as dt

while(True):
time_left = 24
work_hours = 8
trained_today = False

while(work_hours>0):
do_work()
listen_to_music()
browse_interesting_feeds()
work_hours -= 1
time_left -= 1

while(time_left>0):

if trained_today == False:
train()
trained_today = True

eat()

if dt.datetime.now().hour > 23:
time_left -= time_left

Comments
Add Comment