Skip to content

Commit 9ff41d9

Browse files
authored
Update str_return_type_hint_example.py
1 parent e9688a7 commit 9ff41d9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
import random
21

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

Comments
 (0)