Pattern Questions In Python Using For Loop