teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

else: pass をコピペし忘れていました

2019/09/13 23:36

投稿

novice114
novice114

スコア5

title CHANGED
File without changes
body CHANGED
@@ -70,6 +70,8 @@
70
70
  elif j-1 >= 0 and Color[i][j-1] == 'White':
71
71
  d[i][j-1] = d[i][j] + 1
72
72
  Q.append(Point(i,j-1)
73
+ else:
74
+ pass
73
75
 
74
76
 
75
77
  H,W = map(int,input().split())