Gold Panning - one line solution

I understand the problem asks for a five line solution so repeat() should be used. But Jiki also passes the following code.

sell(pan() + pan() + pan() + pan() + pan());
1 Like

Nice find! I think I"m ok with this as it shows you understand what’s going on. So congrats on a good find :grin: