Format to avoid escape characters solution in Creative category for Exec Quine by TorinPena
triquote = '"""'
code = """def quine():
triquote = '%s'
code = %s%s%s
return code %% (triquote, triquote, code, triquote)"""
return code % (triquote, triquote, code, triquote)
Dec. 15, 2017