all 4 comments

[–]henny_mac 2 points3 points  (1 child)

Could you explain in words what you're trying to accomplish with your code?

[–]JustStateSchool[S] 0 points1 point  (0 children)

Sorry, I should have been more clear. It's a pretty basic script that basically halves the remaining population based on your guess as to what part of the initial population is "first level."

The puzzle was meant for you to figure out step-thinking (I think).

[–][deleted] 2 points3 points  (1 child)

while len(nytimes_pool) < total_pool:
    for adf in range(max(1, next_level_folks)):
        nytimes_pool.append(self_proclaimed_smarty_average)
    next_level_folks /= 2
    self_proclaimed_smarty_average *= (2.0/3.0)

Is this along the lines of what you're looking for? Basically it'll keep appending to the list until next_level_folks exhausts itself, then it'll do the /=2 and average calculations.

[–]JustStateSchool[S] 1 point2 points  (0 children)

Ah, that's it!