Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def select_target_language(possible_languages):
- """Randomly choose a target language from a list of possible
- languages.
- Hint: your solution can be done in 1 line of code (including
- the return statement).
- Parameters
- ----------
- possible_languages : list of sets
- The list of possible languages to choose from
- Returns
- -------
- set : the target language
- """
- # YOUR CODE HERE
- return np.random.choice(possible_languages)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement