Print Pattern In Python Using Nested For Loop