SW Expert AcademySW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!swexpertacademy.com🗒️ 파이썬 코드 풀이from collections import dequeT = int(input())for tc in range(1,T+1) : H,W = list(map(int,input().split())) # 높이,너비 lst = [list(input()) for _ in range(H)] # 지도 length = int(input()) q = deque(input()) # 방향 딕셔너리 형태로 dict = {"^" : (-1,0), "v" : (1,0), "" : (0,1)} ..