input: Write a function to display a Fibonacci sequence of the first n numbers. The function should take an integer n as input and print the first n Fibonacci numbers. If n is less than 1, the function should print an empty sequence.
  def display_fibonacci(n):
      if n < 1:
          return
      fib_sequence = []
      a, b = 0, 1
      for _ in range(n):
          fib_sequence.append(a)
          a, b = b, a + b
      for num in fib_sequence:
          print(num)
  
  assert display_fibonacci(0)==None
  assert display_fibonacci(1)==None
  assert display_fibonacci(5)==None
  assert display_fibonacci(10)==None
output: def display_fibonacci(n):
      if n < 1:
          return
      fib_sequence = []
      a, b = 0, 1
      for _ in range(n):
          fib_sequence.append(a)
          a, b = b, a + b
      for num in fib_sequence:
          print(num)