input: Write a python function to generate the Fibonacci sequence up to a given number.
  assert list(Fibonacci(10)) == [0, 1, 1, 2, 3, 5, 8]
  assert list(Fibonacci(0)) == [0]
  assert list(Fibonacci(1)) == [0, 1, 1]
  assert list(Fibonacci(20)) == [0, 1, 1, 2, 3, 5, 8, 13]
output: def Fibonacci(n):
      a, b = 0, 1
      result = [a]
      while b <= n:
          result.append(b)
          a, b = b, a + b
      return result