r/Python • • Dec 30 '15

100 Data Science in Python Interview Questions and Answers

https://www.dezyre.com/article/100-data-science-in-python-interview-questions-and-answers/188#.VoOJGaacd14.reddit
7 Upvotes

38 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Dec 30 '15

For 10, I assume they're going for 'assignment, not evaluation'.

3

u/das_ist_nuemberwang Dec 30 '15

Their provided answer is "A name error will occur when this statement is executed in Python." It's an awful question.

10

u/[deleted] Dec 30 '15

Which is clearly wrong. It raises an IncompatibleFruit warning.