Mar-19-2022, 07:47 PM
(This post was last modified: Mar-19-2022, 08:19 PM by Yoriz.
Edit Reason: Added code tags
)
Hello! Could you guys explain to me each part of this code right here:
n = int(input()) alpha = 'abcdefghijklmnopqrstuvwxyz' print(*[''.join([alpha[min(abs(i-j), abs(n - i - j - 1) % len(alpha))] for j in range(n)]) for i in range(n)], sep='\n')