Skip to content

Commit 69ebff9

Browse files
authored
Missing parentheses in call to 'print'
1 parent 34fd65e commit 69ebff9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

array/garage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ def garage(beg, end):
2727
final_pos = end.index(beg[i])
2828
if empty != final_pos:
2929
beg[final_pos], beg[empty] = beg[empty], beg[final_pos]
30-
print beg
30+
print(beg)
3131
empty = beg.index(0)
3232
beg[beg.index(car)], beg[empty] = beg[empty], beg[beg.index(car)]
33-
print beg
33+
print(beg)
3434
moves += 2
3535
else:
3636
beg[beg.index(car)], beg[empty] = beg[empty], beg[beg.index(car)]
37-
print beg
37+
print(beg)
3838
moves += 1
3939
i += 1
4040
if i == len(beg):

0 commit comments

Comments
 (0)