BC101 翻转直角三角形图案

思路:

step1:与正序相反,调转输出即可;

代码如下:

while True:
    try:
        n = int(input())
        i = 0
        while i < n:
            j = n
            while j >= i + 1:
                print('* ',end='')
                j -= 1
            print()
            i += 1
    except:
        break