Answer

Simple iterative approach using tuple unpacking: ```python a, b = 0, 1 for _ in range(10): print(a) a, b = b, a + b ``` Output: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34 WHY it works: Tuple unpacking (`a, b = b, a + b`) evaluates the right side fully before assignment, so both values update simultaneously without a temp variable. This is the most Pythonic and memory-efficient approach for sequential Fibonacci generation.

fc632146-1cec-4109-8c27-5320c884a8fe

Simple iterative approach using tuple unpacking:

a, b = 0, 1
for _ in range(10):
    print(a)
    a, b = b, a + b

Output: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34

WHY it works: Tuple unpacking (a, b = b, a + b) evaluates the right side fully before assignment, so both values update simultaneously without a temp variable. This is the most Pythonic and memory-efficient approach for sequential Fibonacci generation.