Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Python

Python interview questions

Python interview questions in 19 module banks: what each bank covers, how many questions it holds and the levels they are asked at.

511 questions: 139 warm-ups and 372 with model answers in 19 module banks

  1. Module 1

    Getting started: install, run and read Python

    18 questions: 6 warm-ups and 12 with model answers · Levels: Fresher to senior

  2. Module 2

    Values, variables, numbers and strings

    30 questions: 10 warm-ups and 20 with model answers · Levels: Fresher to senior

  3. Module 3

    Control flow: decisions, loops and pattern matching

    21 questions: 7 warm-ups and 14 with model answers · Levels: Fresher to senior

  4. Module 4

    Functions, scope, closures and decorators

    30 questions: 10 warm-ups and 20 with model answers · Levels: Fresher to senior

  5. Module 5

    Built-in data structures: lists, dicts, sets and more

    33 questions: 11 warm-ups and 22 with model answers · Levels: Fresher to senior

  6. Module 6

    Modules, packages and the standard library

    21 questions: 7 warm-ups and 14 with model answers · Levels: Fresher to senior

  7. Module 7

    Errors, exceptions and context managers

    21 questions: 7 warm-ups and 14 with model answers · Levels: Fresher to senior

  8. Module 8

    Files, paths and data formats

    33 questions: 11 warm-ups and 22 with model answers · Levels: Fresher to senior

  9. Module 9

    Object-oriented Python and the data model

    47 questions: 12 warm-ups and 35 with model answers · Levels: Fresher to staff

  10. Module 10

    Iterators, generators and functional tools

    18 questions: 4 warm-ups and 14 with model answers · Levels: Fresher to staff

  11. Module 11

    Type hints and static type checking

    43 questions: 9 warm-ups and 34 with model answers · Levels: Fresher to staff

  12. Module 12

    Testing, debugging and code quality

    15 questions: 4 warm-ups and 11 with model answers · Levels: Fresher to staff

  13. Module 14

    Concurrency and parallelism: threads, processes, interpreters

    31 questions: 8 warm-ups and 23 with model answers · Levels: Fresher to staff

  14. Module 15

    Async programming with asyncio

    38 questions: 6 warm-ups and 32 with model answers · Levels: Fresher to staff

  15. Module 16

    Practical Python: text, CLIs, web, automation and security

    51 questions: 13 warm-ups and 38 with model answers · Levels: Fresher to staff

  16. Module 17

    Performance, profiling and debugging in depth

    15 questions: 4 warm-ups and 11 with model answers · Levels: Fresher to staff

  17. Module 18

    Advanced Python: data model, metaprogramming and internals

    22 questions: 4 warm-ups and 18 with model answers · Levels: Fresher to staff

  18. Module 19

    Python for coding interviews and online assessments

    9 questions: 1 warm-up and 8 with model answers · Levels: Fresher to senior

  19. Module 21

    Python everywhere: data, web, AI and next steps

    15 questions: 5 warm-ups and 10 with model answers · Levels: Fresher to senior

Back to the Python track

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.