Lucid Motors interview question

There was 1 Python coding problem