Answer
The work done by the gas is zero. We consider this diagram. The volume of the gas remains at $V_{\large i}$.
Work Step by Step
Let $P$ be the pressure. Work done is the integral of $P$ with respect to volume $V$ on a specified path.