A barometer uses a gain and an offset to calibrate its pressure readings. Both settings are supplied to your function, so the same calculation can work with another instrument.
The starter includes the function and a print call. Replace return None; leave the original array unchanged.
calibrate_pressure, return a new array calculated as raw * gain + offset.Run main.py to check the sample: [7 13 19]. Submit when it is ready.
Use the parameters rather than the numbers from the sample call.