Patterns Example In Python A Type