First commit - palindrome source code

This commit is contained in:
Mindiell 2023-06-15 14:27:10 +02:00
commit 0304dcd93e
2 changed files with 23 additions and 0 deletions

10
README.md Normal file
View File

@ -0,0 +1,10 @@
# Source codes
"International Obfuscated Python Code Competition" and other codes...
# palindrome
_yp.py_ is a source code which has the property of outputs its own source code reversed
which you can execute again to obtain the same code.

13
yp.py Normal file
View File

@ -0,0 +1,13 @@
# encoding: utf-8 #
"""palindrome source code""" #
with open(__file__) as f: #
content = f.read() #
print(content[::-1], end="") #
# )""=dne ,]1-::[tnetnoc(tnirp
# )(daer.f = tnetnoc
# :f sa )__elif__(nepo htiw
# """edoc ecruos emordnilap"""
# 8-ftu :gnidocne #