Modo Energy interview question

two easy/medium python questions and multiple choice test