Skip to content

Commit 207965f

Browse files
authored
Update display-table-of-food-orders-in-a-restaurant.py
1 parent faf63d0 commit 207965f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/display-table-of-food-orders-in-a-restaurant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def displayTable(self, orders):
1111
:rtype: List[List[str]]
1212
"""
1313
table_count = collections.defaultdict(collections.Counter)
14-
for name, table, food in orders:
14+
for _, table, food in orders:
1515
table_count[int(table)][food] += 1
1616
foods = sorted({food for _, _, food in orders})
1717
result = [["Table"]]

0 commit comments

Comments
 (0)