Advanced python code examples for interview pdf