Z by

i=input()
print'Z'*i
for j in range(i-2):print(i-2-j)*' '+'Z'
if i>1:print'Z'*i

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top