Wednesday, March 25, 2015

Quine -Self reproducing code


a = ['print "a =", a', 'for s in a: print s']
print "a =", a
for s in a: print s
If you give input it prints the input as output Check out the rest



Learn python for fun.The popular blog with questions and answers to the python.Solutions to facebookhackercup,codejam,codechef.The fun way to learn python with me.Building some cool apps.

No comments:

Post a Comment