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 06b4238 commit 4f7e271Copy full SHA for 4f7e271
type_hint_arrow_samples/simple_type_hint_example.py
@@ -0,0 +1,5 @@
1
+def get_number_of_titles(list) -> int:
2
+ return len(list)
3
+
4
+game_titles_list = ["Dragon Quest", "Final Fantasy", "Age of Empires"]
5
+print(f"Number of titles: {get_number_of_titles(game_titles_list)}")
0 commit comments