0 out of 464 challenges solved
**Question:** Write a function called `find_common_elements` that takes multiple lists as input and returns a new list containing the common elements across all the input lists. Use sets to find the common elements. **Example:** Input: List 1: [1, 2, 3, 4, 5] List 2: [4, 5, 6, 7, 8] List 3: [3, 4, 5, 9, 10] Output: [4, 5]
def find_common_elements(*lists):
"""
Finds the common elements across multiple lists.
Args:
*lists (list): The input lists.
Returns:
list: A new list with the common elements.
"""
# TODO: Implement the find_common_elements function
pass