features of python pattern programs