Skip to content
Interview Bank
Middle+TechnicalPython20 views

СБЕР ФП Конфигуратор interview

Questions14

  1. What is the output of this Python code? ```python def func(x=[]): x.append(len(x)) return x x = func([5]) print(x) x = func() print(x) x = func() print(x) ```

    Screenshot
  2. How should this function with a default value be changed to avoid the cumulative effect of a mutable argument?

  3. What does the function calc_order_sum(*prices) return, what data type will prices be, and why can adding the floating-point numbers 1.01 and 2.02 in Python result in a rounding error?

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.