Correct returns
This commit is contained in:
1 parent
318f2a4ae9
commit
98215565a8
1 file changed
+1
-1
@@ -9,7 +9,7 @@ def generate_random_ticket(max_main: int, max_game: int, num_main: int = 5) -> t
|
||||
:param max_game: The maximum number in the range to choose from for the game ball
|
||||
:param num_main: The number of numbers that can be chosen in the main field
|
||||
|
||||
:return: A tuple of (main_balls, game_ball)
|
||||
:returns: A tuple of (main_balls, game_ball)
|
||||
"""
|
||||
main_balls = random.sample(range(1, max_main), num_main)
|
||||
game_ball = random.randint(1, max_game)
|
||||
|
||||
Reference in new issue
Block a user