Skip to content

Commit 21e1470

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

4/3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 현재 나이트의 위치 입력 받기
22
input_data = input()
3-
row = int(input_data[1]) - 0
3+
row = int(input_data[1])
44
column = int(ord(input_data[0])) - int(ord('a')) + 1
55

66
# 나이트가 이동할 수 있는 8가지 방향 정의

0 commit comments

Comments
 (0)