Write odd_only(nums) returning the odd numbers with a list comprehension.
odd_only(nums)
odd_only([1, 2, 3, 4, 5]) → [1, 3, 5]
odd_only([]) → []
Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.