結果 : print pattern using one loop in python