Beakjoon&프로그래머스/파이썬
[백준/파이썬] 15444번 Vera and ABCDE
현장
2023. 6. 20. 17:32
-Code
v = [
["***", "*.*", "***", "*.*", "*.*"],
["***", "*.*", "***", "*.*", "***"],
["***", "*..", "*..", "*..", "***"],
["***", "*.*", "*.*", "*.*", "***"],
["***", "*..", "***", "*..", "***"]
]
n = int(input())
s = input()
for i in range(5):
for j in s:
print(v[ord(j) - ord('A')][i], end='')
print()