Top Python Interview Questions
Chris Angelico
rosuav at gmail.com
Fri May 26 19:37:56 EDT 2017
On Sat, May 27, 2017 at 8:56 AM, Larry Martell <larry.martell at gmail.com> wrote:
> If they write a loop with range(1,10) they are going in the 'no' pile.
> If they write a loop with range(1,11) they go in the maybe pile
> If the write sum([i*i for i in range(1,11)]) and sqrt(sum([i for i in
> range(1,11)])) they are going in the yes pile.
And if they leave off the square brackets, even better. :)
ChrisA
More information about the Python-list
mailing list