Doctolib interview question

Backend Python problem with OOP