input: Write a function to generate a Fibonacci sequence of the first n numbers. The function should print each number in the sequence. If n is less than or equal to 0, the function should print "Invalid input". If n is 1, the function should print only the first Fibonacci number. If n is 2, the function should print the first two Fibonacci numbers.
  def Fibonacci(n):
      if n <= 0:
          print("Invalid input")
      elif n == 1:
          print(0)
      elif n == 2:
          print(0)
          print(1)
      else:
          a, b = 0, 1
          print(a)
          print(b)
          for _ in range(2, n):
              c = a + b
              print(c)
              a, b = b, c
              
  assert Fibonacci(1) == 0
  assert Fibonacci(2) == 1
  Fibonacci(10)
output: def Fibonacci(n):
      if n <= 0:
          print("Invalid input")
      elif n == 1:
          print(0)
      elif n == 2:
          print(0)
          print(1)
      else:
          a, b = 0, 1
          print(a)
          print(b)
          for _ in range(2, n):
              c = a + b
              print(c)
              a, b = b, c