题解 | #K形图案#
K形图案
https://www.nowcoder.com/practice/753cc2662d9949fe826a85f815db0ca4
while True:
try:
n=int(input())
for i in range(n+1,1,-1):
print(i*"* ")
for j in range(1,n+2):
print(j*"* ")
except:
break
查看22道真题和解析
