Python Code For Patterns Examples