Siemens interview question

1. Python code for functions 2. If and else questions 3. Unix commands