0 out of 68 challenges solved

Count the number of odd numbers in a given list

**Question:**
Write a function called `count_odd_numbers` that takes a list of integers as input and returns the count of odd numbers in the list. Use a while loop to iterate through each element in the list and count the number of odd numbers.

**Example:**
Input: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
Output: 5
def count_odd_numbers(numbers):
    """
    Counts the number of odd numbers in a given list.

    Args:
        numbers (list): The input list of integers.

    Returns:
        int: The count of odd numbers in the list.
    """
    # TODO: Implement the count_odd_numbers function
    pass