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 5fc9bc5 commit 3b9b2a1Copy full SHA for 3b9b2a1
type_hint_arrow_samples/str_return_type_hint_example.py
@@ -1,7 +1,7 @@
1
import random
2
3
-def get_game_recommendations(titles: list) -> str:
+def get_game_recommendation(titles: list) -> str:
4
return random.choice(titles)
5
6
game_titles_list = ["Dragon Quest", "Final Fantasy", "Age of Empires"]
7
-print(f"Random recommendation: {get_game_redommendation(game_titles_list)}")
+print(f"Random recommendation: {get_game_recommendation(game_titles_list)}")
0 commit comments