Ian Thompson

2,914
reputation
2
18
31
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

Have I helped you? Please consider buying me a coffee