* *** ***** ******* ********* *********** *************
# TODO n = eval(input()) for i in range(1, n+1): for k in range(1, n-i+1): print(' ', end='') for j in range(1, 2*(i-1) + 1 + 1): print('*', end='') print()
Category: Python
全新的繁體中文 WordPress 網站
* *** ***** ******* ********* *********** *************
# TODO n = eval(input()) for i in range(1, n+1): for k in range(1, n-i+1): print(' ', end='') for j in range(1, 2*(i-1) + 1 + 1): print('*', end='') print()