PTA 团体程序设计天梯赛练习题 python3~持续更新~
目录
L1-001
L1-002
L1-003
L1-004
L1-005
L1-007
L1-001
print("Hello World!",end="")
L1-002
import math
n,t = input().split()
n = int (n)
tmp = int(math.sqrt((n + 1)/ 2))
for i in range(tmp):
print(' ' * i + ((tmp - i) * 2 - 1) * t)
for i i
原创
2021-10-30 15:56:41 ·
1140 阅读 ·
0 评论