This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from typing import Any, List, Tuple | |
| def is_valid_odd_number(value: Any) -> bool: | |
| """Check if the value is a valid odd integer""" | |
| return isinstance(value, int) and value % 2 != 0 | |
| def double_odd_numbers(data: List[Any]) -> List[int]: | |
| """Extract odd integers from the input and return them doubled""" |