def fibonacci_sequence(n): sequence = [0, 1] while sequence[-1] + sequence[-2] <= n: sequence.append(sequence[-1] + sequence[-2]) return sequence number = 10000000000000000000000000000 # You can change this number to generate the Fibonacci sequence up to a different value print(fibonacci_sequence(number))