Python4Kids New Tutorial: Functions (or The Right Place for an Argument)Jul 21, 2010, 23:39 (0 Talkback[s])
(Other stories by Brendan Scott)
[ Thanks to Brendan Scott for this link. ]
"I have a secret to tell you. I have been cutting some corners in some of the earlier tutorials. Wherever you saw these -> () I was sneaking a function in under your nose, without actually telling you about them. Here is a sample function:>>> def justContradiction(argument): ... return 'Yes I did' ... >>> justContradiction("You did not") 'Yes I did' >>> justContradiction("didn't") 'Yes I did' >>>"
0 Talkback[s] (click to add your comment)