First commit - palindrome source code
This commit is contained in:
commit
0304dcd93e
|
@ -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.
|
||||
|
|
@ -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 #
|
Loading…
Reference in New Issue