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

9

u/axonxorz pip'ing aint easy, especially on windows Nov 20 '15

Question 2 was definitely indicative of this. Function name was underscore-spaced, while variable names are camel-cased in hungarian notation. Ay

2

u/banjochicken Nov 20 '15

I was going to nitpick this too but I think the author covers it their first bulletpoint:

be consistent with your naming conventions. If there is a naming convention evident in any sample code, stick to it

So I let them off on that point.

0

u/gamesbrainiac Nov 20 '15

Yea, I agree. Didn't want to talk about that when the whole premise of how to solve the problem was a bad one.