Pergunta de entrevista da empresa SolarEdge Technologies

a question with order dictionaries in Python