Looks like there's a merge conflict in the description
that validation was brilliant!
excelent work! very clever :)
This comment is hidden because it contains spoiler information about the solution
But I do: enforcing equality of outcome it removes incentives to put more effort, upskill and in general outperform, in the asinine idea that differences are intrinsically bad (where no one of us will ever trade or work, if we were all perfectly equal); now, social-democracy is something else and more amenable, although still not my favourite thing.
Comrade, your Italian is obviously better than mine. My point is that deeply embedded human behaviour determines the outcome. You should really be asking how socialist distribution correlates with human behaviour.
Your Russian humour was no lost to me :D
Pretty sure you are referring to an Italian idiomatic sentence (which is different) and not a proverb, but also not sure how this correlates with the idea of socialist distribution, comrade.
The kata is only a third of the story, because the poor guys work hard and become the wealthy people who repeat the cycle. However, family wealth rarely survives more than three generations. This is a widely held belief that spans almost all of recorded history.
“There’s nobbut three generations atween a clog and clog.” —Old English proverb
“Wealth never survives three generations.” —Chinese proverb
“From stalls to stars to stalls.” —Italian saying
“The third generation ruins the house.” —Japanese proverb
“Shirtsleeves to shirtsleeves in three generations.” —American proverb
“First generation, trader; second generation, gentleman; third generation, beggar.” —Spanish proverb
Time to write another kata.
just add an if statement lol
Doesn't work with n = 0. (should return 0 but returns 9)
n = 0