We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a1015a commit 7a602e4Copy full SHA for 7a602e4
type-hint-arrow-samples/dictionary_return_type_example.py
@@ -1,6 +1,5 @@
1
game_stock = {"Dragon Quest": 5, "Final Fantasy": 1, "Age of Empires": 5}
2
3
-
4
def get_highest_stock_games(game_stock: dict[str, int]) -> dict[str, int]:
5
max_quantity = max(game_stock.values())
6
return {game: quantity for game, quantity in game_stock.items()
0 commit comments