Skip to content

Commit 22b120f

Browse files
authored
Update 5.py
1 parent 88c9c64 commit 22b120f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

12/5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def simulate():
3131
direction = 0 # 처음에는 동쪽을 보고 있음
3232
time = 0 # 시작한 뒤에 지난 '초' 시간
3333
index = 0 # 다음에 회전할 정보
34-
q = [(x, y)] # 뱀이 차지하고 있는 위치 정보 (꼬리가 앞쪽)
34+
q = [(x, y)] # 뱀이 차지하고 있는 위치 정보(꼬리가 앞쪽)
3535

3636
while True:
3737
nx = x + dx[direction]

0 commit comments

Comments
 (0)