On Sep 23, 2009, at 8:15 , Casey Webster wrote:
Btw, I can't believe nobody provided the simplest literal solution:def twice(i): return i, i --
or this one, which is possibly even more literal: def twice(p): return "an int that is twice the value of the parameter" twice("an int parameter") -- Brian Blais bbl...@bryant.edu http://web.bryant.edu/~bblais
-- http://mail.python.org/mailman/listinfo/python-list