Valency is the combining capacity of an element. Inert gases have a completely filled valence shell and do not combine with other elements to form compounds. Hence, the valency of inert gases is zero.
because as inert gases are noble gases so they have there valence shell ful e.g- he- it has valence shell ful means completed its duplet neon- it has its valence shell ful means completed its octet