Quine in Every Language

Published on 01 November 2018 (Updated: 02 May 2020)

Quine in Every Language

For those of you that don’t know, a quine is a program which can replicate itself–or more specifically:

A quine is a non-empty computer program which takes no input and produces a copy of its own source code as its only output.

Thanks, Wikipedia!


For the purposes of this repo, the solution should be simple. We’re not here to play code golf, but we’re also not here to practice obfuscation. Just be reasonable with your solution.


Verify that the actual output matches the expected output. See the requirements section for an example of the expected output.


Further Reading