The trick to writing a quine involves writing a string which somehow has a "hole" in it, then outputting that string, with the "hole" filled in with its own quotation. For example in Python the function which quotes a string is called codice_1, and the codice_2 operator fills in a hole which is written as codice_3 in the string, while converting codice_4 to codice_2: