when i paste this:
t= int(input())
s=int(input())
h=int(input())
sp= (" ")
d=("*")
def trident(t, s, h, sp, d):
gap = " "*s
top = d+ gap+d+gap+d+gap
fult = []
for x in range (t):
fult.append(top)
midnum= (2*s)+3
mid = d* midnum
spacec = s+1
spaceb= spacec * sp
spacebot=spaceb+d+"
"
bottem1=spacebot
bottem=bottem1*h
full= fult+[mid]+[bottem]
return full
full = trident(t, s, h, sp, d)
for line in full:
print(line)`
into this: https://dmoj.ca/problem/ccc03j1/submit it says theres a whitespace error. Why?
我测试了该守则,其产出是巨大的,但结果却说白空间错误。