We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88c9c64 commit 22b120fCopy full SHA for 22b120f
12/5.py
@@ -31,7 +31,7 @@ def simulate():
31
direction = 0 # 처음에는 동쪽을 보고 있음
32
time = 0 # 시작한 뒤에 지난 '초' 시간
33
index = 0 # 다음에 회전할 정보
34
- q = [(x, y)] # 뱀이 차지하고 있는 위치 정보 (꼬리가 앞쪽)
+ q = [(x, y)] # 뱀이 차지하고 있는 위치 정보(꼬리가 앞쪽)
35
36
while True:
37
nx = x + dx[direction]
0 commit comments