Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Narcissist/Python/narcissist-1.py
Normal file
7
Task/Narcissist/Python/narcissist-1.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import sys
|
||||
with open(sys.argv[0]) as quine:
|
||||
code = raw_input("Enter source code: ")
|
||||
if code == quine.read():
|
||||
print("Accept")
|
||||
else:
|
||||
print("Reject")
|
||||
1
Task/Narcissist/Python/narcissist-2.py
Normal file
1
Task/Narcissist/Python/narcissist-2.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
_='_=%r;print (_%%_==input())';print (_%_==input())
|
||||
Loading…
Add table
Add a link
Reference in a new issue