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

+1-1
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)