q=chr(34)*3 s='q=chr(34)*3\ns={2!r}\na="""{0}"""\nb="""{1}"""\nprint(s.format(a,b,s))' a=""" A quine is... I just woke up from a nightmare.