Siemens Mobility interview question

Questions were mainly in the form of an interactive python document