Skip to content

Commit 9f43b13

Browse files
authored
Update dictionary_return_type_example.py
1 parent 1ecf12d commit 9f43b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

type-hint-arrow-samples/dictionary_return_type_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
game_stock = {"Dragon Quest": 5, "Final Fantasy": 1, "Age of Empires": 5}
22

33

4-
def get_highest_stock_game() -> dict[str, int]:
4+
def get_highest_stock_games() -> dict[str, int]:
55
stock_quantities = game_stock.values()
66
high = 0
77
for quantity in stock_quantities:
@@ -15,4 +15,4 @@ def get_highest_stock_game() -> dict[str, int]:
1515
return game_results
1616

1717

18-
print(f"Games with the highest stock: {get_highest_stock_game()}")
18+
print(f"Games with the highest stock: {get_highest_stock_games()}")

0 commit comments

Comments
 (0)