Create a function in Python that takes a list of integers and returns the largest integer.
[1, 5, 4, 9, 2]
def biggest_number(num_list):
  return max(num_list)

biggest = biggest_number([1, 5, 4, 9, 2])
print(biggest) # prints 9