Python · topic 1 of 1

Python

Data structures, comprehensions, decorators, the GIL.

Questions below are grouped from foundations to advanced. Work top to bottom if the topic is new to you, or jump to a level if you are brushing up.

Questions
27
Difficulty mix
16 easy · 10 medium · 1 hard

Topics covered

  • Data Types3
  • Lists2
  • Functions2
  • Lists & Dicts1
  • Decorators1
  • Tuples1
  • Dictionaries1
  • Sets1
  • Strings1
  • Lambda1
  • Comprehensions1
  • Exceptions1
  • File Handling1
  • OOP1
  • Modules1
  • Environments1
  • Generators1
  • Iterators1
  • Inheritance1
  • Polymorphism1
  • Encapsulation1
  • Concurrency1
  • GIL1

Foundations

Easy · 16 questions

Definitions and building blocks — start here if the topic is new to you.

Core concepts

Medium · 10 questions

The questions most interviews spend their time on: how it works and when to use it.

Advanced

Hard · 1 question

Internals, trade-offs and edge cases — useful for senior rounds and follow-ups.

Advertisement

Google AdSense slot