The random Module
A game stores six different player names as strings in the Python list players. Assume random has already been imported. Match each call with its behavior.
Returns a new list of three different names and leaves the original list unchanged.
Returns one name as a string and leaves the original list unchanged.
Randomly reorders the original list and returns None.
Returns a new list of three names, allowing repeated names, and leaves the original list unchanged.
random.shuffle(players)
random.choice(players)
random.sample(players, k=3)
random.choices(players, k=3)
A game program awards a random bonus using the following line of Python, after import random:
bonus = random.randrange(10, 50, 5)Find the smallest value bonus can take, the largest value it can take, and the number of different values it can take. Give each answer as a whole number.