How To Print Pattern In Python Using For Loop