paste
unknown
python
4 years ago
430 B
54
Indexable
import re #https://www.codingame.com/ide/puzzle/ascii-art #100% l,h,t,matx, pos, res = int(input()), int(input()), input(),[], [], "" for i in range(h): row = input() matx.append([row[i:i+l] for i in range(0, len(row), l)]) for i in t:pos.append(26 if re.search("[A-Za-z]", i) is None else ord(i.lower())-97) for p in range(len(matx[0])): for i in pos:res+=str(matx[p][i]) print(res) res=""
Editor is loading...