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 5a6b4b7 commit 2d43c10Copy full SHA for 2d43c10
type_hint_arrow_samples/str_return_type_hint_example.py
@@ -1,8 +1,8 @@
1
import random
2
3
4
-def get_game_recommendation(list) -> str:
5
- return random.choice(list)
+def get_game_recommendation(titles: list) -> str:
+ return random.choice(titles)
6
7
8
game_titles_list = ["Dragon Quest", "Final Fantasy", "Age of Empires"]
0 commit comments