example03.py 84 B

12345
  1. a, b = 0, 1
  2. for num in range(1, 101):
  3. a, b = b, a + b
  4. print(f'{num}: {a}')