r/PythonLearning • • 5d ago

Python interview questions: 10 with answers

https://opnf.sh/guides/python-interview-questions/?via=reddit

10 Python interview questions with sample answers and tested code, from mutable defaults and is vs == to the GIL, plus how to explain them out loud.

1 Upvotes

1 comment sorted by

1

u/Atmosck 5d ago

This is a good list overall but the question about the difference between a list and a tuple feels like it's testing the same knowledge as the mutable defaults question.