human
Write a python function to find the first odd number in a given list of numbers. Here is a solution in Python: ... What is a Python code to find the first odd number in a given list of numbers?
assistant
#Here is Python code to find the first odd number in a given list of numbers.
 def first_odd(nums):
  first_odd = next((el for el in nums if el%2!=0),-1)
  return first_odd