by@pizzacat83a
WA
2415ms
i=input().find('T') d=-1 while 1:;print(' '*d+'*'*(i-d+1)if~d else' '*i+'*');d=input().find('K')
T K
File "/volume/CODE", line 3 while 1:;print(' '*d+'*'*(i-d+1)if~d else' '*i+'*');d=input().find('K') ^ SyntaxError: invalid syntax