打印用“*”组成的反斜线形图案。 while True: try: n = int(input()) for i in range(n): print(' '*i + '*' + ' '*(n-i-1)) except: break ''' 6 * * * * * * '''