Skip to content

Commit 8cce0b7

Browse files
authored
Update str_return_type_hint_example.py
1 parent c0862ad commit 8cce0b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

type-hint-arrow-samples/str_return_type_hint_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ def get_game_recommendation(titles: list) -> str:
55
return random.choice(titles)
66

77

8-
game_titles_list = ["Dragon Quest", "Final Fantasy", "Age of Empires"]
9-
print(f"Random recommendation: {get_game_recommendation(game_titles_list)}")
8+
games = ["Dragon Quest", "Final Fantasy", "Age of Empires"]
9+
print(f"Random recommendation: {get_game_recommendation(games)}")

0 commit comments

Comments
 (0)