結果 : pattern using for loop in python