The Comedy of Measure for Measure is a play by William Shakespeare that follows the story of a Duke who attempts to restore justice in Vienna by temporarily handing over his power to a strict deputy. The play is a mix of comedy and tragedy, as the Duke's plan to restore justice is complicated by