結果 : printing pattern using loops in python hackerrank solution