entry #1
written by LyricLy
submitted at
1 like
guesses
comments 3
sss.py ASCII text, with very long lines (500)
1 2 3 4 5 6 7 | def entry(n, x, y): # put all the money in a big pile # solve it l = x + y ; p = n + sum(y); r = []; o = y[:]; [l.remove(e := __import__("random").choice(l)) or (o.remove(e) if e in o else r.append(e)) or (p := p - e) for _ in iter(lambda: p > 0, False)]; return entry(n, x, y) if p else (r, o) # burn it del l[:] # return ashes return l, l |
:3
hi
Cute£
post a comment