# Imagine running these cells out of order...
# Cell 1: Define calibration
calibration_factor = 1.02
# Cell 2: Apply calibration
raw_measurement = 100.0
calibrated = raw_measurement * calibration_factor
# Cell 3: Oops, change calibration (but forget to re-run Cell 2!)
calibration_factor = 0.98
# Cell 4: Report results
print(f"Calibrated value: {calibrated}") # Still uses OLD calibration!
print(f"Current factor: {calibration_factor}") # Shows NEW valueCalibrated value: 102.0
Current factor: 0.98