input: 
  from typing import List
  
  def Fibonacci(n: int) -> List[int]:
      """Calculate the Fibonacci sequence up to a given number n and return the sequence as a list.
      >>> Fibonacci(0)
      [0]
      >>> Fibonacci(1)
      [0, 1]
      >>> Fibonacci(10)
      [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55]
      """
      if n < 0:
          return []
      fib_sequence = [0] if n >= 0 else []
      if n >= 1:
          fib_sequence.append(1)
      for i in range(2, n + 1):
          fib_sequence.append(fib_sequence[-1] + fib_sequence[-2])
      return fib_sequence
  
output:     if n < 0:
          return []
      fib_sequence = [0] if n >= 0 else []
      if n >= 1:
          fib_sequence.append(1)
      for i in range(2, n + 1):
          fib_sequence.append(fib_sequence[-1] + fib_sequence[-2])
      return fib_sequence