Hooke's law: F = −kx. Push or pull — the spring pushes back proportionally.
A spring obeys Hooke's law — force is proportional to stretch.