and what si the diffrence here: g = lambda x=5:x*x g = lambda x:x*x
the first was a mistake to write but it worked and the x=5 seems to be completely ignored. why? it has no effect at all? -- http://mail.python.org/mailman/listinfo/python-list
and what si the diffrence here: g = lambda x=5:x*x g = lambda x:x*x
the first was a mistake to write but it worked and the x=5 seems to be completely ignored. why? it has no effect at all? -- http://mail.python.org/mailman/listinfo/python-list