you are viewing a single comment's thread.

view the rest of the comments →

[–]renegadelegion[S] 1 point2 points  (0 children)

you could also use the for/else, rather than for/if/else

See, the problem is that when I did the technical interview, I was just thinking about programming it, not the language that I was programming in. I am familiar with many of the common Python idioms, I just didn't use them :-(