0 of 464 solved
Write a function `divisible_numbers(numbers)` that takes a list of integers and returns a comma-separated string of the values that are divisible by 3 but not by 7. Preserve the original order of the matching numbers. #### Example Input: `[2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009]` Output: `"2001,2004,2007"`
def divisible_numbers(numbers):
"""
Returns a comma-separated sequence of numbers that are divisible by 3 but not a multiple of 7.
Args:
numbers (list): The list of numbers.
Returns:
str: The comma-separated sequence of numbers.
"""
# TODO: Implement the divisible_numbers function
pass