結果 : half pyramid patterns in python using loop