Esko Interview Question

general python basics and logical reasoning