easy question, how to double a variable
Casey Webster
caseyweb at gmail.com
Wed Sep 23 08:15:18 EDT 2009
On Sep 22, 9:57 am, Grant Edwards <inva... at invalid.invalid> wrote:
>
> No, no, no. The plan is to do his homework for him so that
> he's incompetent when he graduates and won't be competition for
> the rest of us who did do our homework.
Don't forget the Peter principal --- we might end up working for him!
Btw, I can't believe nobody provided the simplest literal solution:
def twice(i):
return i, i
More information about the Python-list
mailing list