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 c0862ad commit 8cce0b7Copy full SHA for 8cce0b7
type-hint-arrow-samples/str_return_type_hint_example.py
@@ -5,5 +5,5 @@ def get_game_recommendation(titles: list) -> str:
5
return random.choice(titles)
6
7
8
-game_titles_list = ["Dragon Quest", "Final Fantasy", "Age of Empires"]
9
-print(f"Random recommendation: {get_game_recommendation(game_titles_list)}")
+games = ["Dragon Quest", "Final Fantasy", "Age of Empires"]
+print(f"Random recommendation: {get_game_recommendation(games)}")
0 commit comments