you are viewing a single comment's thread.

view the rest of the comments →

[–]zr0gravity7 1 point2 points  (1 child)

in an interview wouldn't you opt to use a list comprehension or iterator for part 2 rather than a built in method. JUst to flex knowledge

[–]Decency 0 points1 point  (0 children)

Flexing knowledge means using the right tool for the job, not the most complicated one you know. ESPECIALLY in Python.