Examples of python code showcasing advanced features in python