0 out of 464 challenges solved
**Question:** Write a function called `extract_email_addresses` that takes a string as input and returns a new list containing all the email addresses found in the input string. Use regular expressions (regex) to extract the email addresses. **Example:** Input: "Contact us at info@example.com or support@example.com for assistance." Output: ["info@example.com", "support@example.com"]
import re def extract_email_addresses(string): """ Extracts email addresses from a given string using regex. Args: string (str): The input string. Returns: list: A new list with the extracted email addresses. """ # TODO: Implement the extract_email_addresses function pass