How to use the water sensor

The program is very simple, the sensor is connected to the Analog A0 pin, if it is not immersed in water, the output value will be 0, as the sensor is immersed in the conductivity value increases as the output voltage increases.
With the value read below the set threshold, the green LED lights up, the red LED is lit above.