Hacker News new | ask | show | jobs
by adamzap 5582 days ago
sleep_times = [wake_time - 1.5 * x for x in range(3, 7)][::-1]

Is that really all that's happening here?

1 comments

Yep. Basically one sleep cycle is 90mins. So it just gives you 3-4 times based on minimum 2 cycles. Nothing fancy.