First solution in Clear category for Feed Pigeons by Martin.N.Menendez
def checkio(number): i=0 j=0 k=1 while number>0: j+=k if i June 22, 2014 Comments: aberforth on Aug. 25, 2015, 6:50 a.m. <p>It would be helpful if you would use clear names for your variables. It makes your code more readable.</p> Martin.N.Menendez on Aug. 27, 2015, 12:32 p.m. <p>but i,j and k are useful variables for iteration, they have no mean itself.</p> kudinov.feodor on March 13, 2022, 10:47 a.m. <p>codestyle and readability is worth spending time, even in checkio tasks just use flake8</p> <blockquote> <p>pip install flake8</p> <p>flake8 </p> </blockquote>
June 22, 2014
Comments: