for i in range(1, 6): print(' ' * (15 - i), end='') print('*' * (i * 2 - 1))
* *** ***** ******* *********
← 第二题第四题 →