← All courses
PYTHON
Python Interview Questions
Python Interview Questions
4.0 (1901)13,901 learners20 lessons41m
Curriculum
Topic
- 01 - What are the built-in data types in Python, and which are mutable vs immutable1:47
- 02 - What is the difference between a list and a tuple, and when would you use each1:55
- 03 - What is the difference between a list, a set, and a dictionary1:52
- 04 - What is the difference between == and is2:03
- 05 - What does it mean that everything in Python is an object1:53
- 06 - What is the difference between None, False, and 0 — and how do they behave in a boolean context1:54
- 07 - What is type casting type conversion, and what's the difference between implicit and explicit conversion2:04
- 08 - What is the difference between range, a list, and a generator for iterating over numbers2:10
- 09 - What is a frozenset, and how does it differ from a set2:14
- 10 - Why can a tuple be used as a dictionary key but a list cannot2:12
- 11 - What is the difference between args and kwargs, and when do you use them2:51
- 12 - What is the difference between positional, keyword, and default arguments2:18
- 13 - What is the LEGB rule for variable scope in Python2:01
- 14 - What do the global and nonlocal keywords do2:10
- 15 - What is a lambda function, and when should (and shouldn't) you use one1:55
- 16 - What is a closure, and what problem does it solve1:59
- 17 - Why is using a mutable object (like a list) as a default argument a common bug1:59
- 18 - What is the difference between pass, continue, and break1:49
- 19 - What is the difference between a function that returns and one that yields2:04
- 20 - What is the difference between a shallow copy and a deep copy2:16