Skip to content
Interview Bank
SeniorTechnicalPython12 views

Точка Банк interview

Questions14

  1. Write an asynchronous `retry` decorator that accepts a list of exceptions, a `delay`, and a maximum number of attempts (`max_tries`), then retries the decorated asynchronous function when one of the specified exceptions occurs. The decorator should handle exhausted attempts correctly and re-raise the last exception.

    Screenshot
  2. What is the difference between a list and a tuple, and why can a tuple be used in an `except` block but not a list?

  3. Why should you use `asyncio.sleep` rather than `time.sleep` in asynchronous code? What happens when you call `time.sleep`?

11 more questions from this interview

A subscription opens every question, and Copilot suggests answers live during your Точка Банк interview.

Sign in to unlock

Summarized questions based on candidates' accounts. These materials do not represent the official position of the companies and do not disclose internal processes. If you believe a publication violates your rights — contact us.