4 ms·
def cutoff(): return min([leader.age for leader in get_leaders("http://news.ycombinator.com/leaders")] I leave you to define get_leaders. :)
by wensing 14y ago
def cutoff():
return min([leader.age for leader in get_leaders("http://news.ycombinator.com/leaders")]
I leave you to define get_leaders. :)
- tommi 14y agoOr, as humans would say that, the cutoff could be the youngest of leaders. However, that really doesn't answer the problem when you don't define what a leader is. If it's the highest amount of Karma past 7 days, then the youngest leader could even be a day old user. Please respond with solutions, not http wrappers.