Skip to content

Commit 09a4503

Browse files
authored
Update 3.py
1 parent 21e1470 commit 09a4503

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

4/3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# 8가지 방향에 대하여 각 위치로 이동이 가능한지 확인
1313
result = 0
1414
for step in steps:
15+
# 이동하고자 하는 위치 확인
1516
next_row = row + step[0]
1617
next_column = column + step[1]
1718
# 해당 위치로 이동이 가능하다면 카운트 증가

0 commit comments

Comments
 (0)