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