Skip to content

Commit a2711c3

Browse files
committed
Added new input
1 parent 8029f3c commit a2711c3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

BombEnemy.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,15 @@ def logic(self):
5858
enemy = self.updateOutput(self.matrix[row][col], enemy, row, col)
5959
print "The row and col where max enemies will be killed is ",
6060
print self.rowMax, self.colMax
61+
print "the max enemies killed is ",
62+
print self.killMax
6163

6264

6365

6466
#Main Program
6567
m = [[0, "E", 0, 0],
6668
["E", 0, "W", "E"],
6769
[0, "E", 0, 0]]
70+
m = [["0","E","0","0"],["E","0","W","E"],["0","E","0","0"]]
6871
o = Approch1(m)
6972
o.logic()

0 commit comments

Comments
 (0)