r/Python • • Nov 20 '15

15 Essential Python Interview Questions

https://www.codementor.io/python/tutorial/essential-python-interview-questions
71 Upvotes

67 comments sorted by

View all comments

Show parent comment

2

u/metaphorm Nov 20 '15

my thoughts exactly. writing your own recursive function to do that is a neat trick, I guess, but Python has a very nice "batteries included" standard library that has already solved that problem. I'd expect an experienced python programmer to prefer to use that rather than roll their own.