Ian Thompson

1,896
reputation
1
14
24
    while days_left_in_life > 0:

    # By Day:

        for problem in list_of_problems:
            solved_problems.append(solve(problem))

    # By Night:

        for idea in head:
            list_of_problems.append(idea.find(problem))
        
        days_left_in_life -= 1