[Tutor] Sys.argv read parameters

Marc Tompkins marc.tompkins at gmail.com
Wed Apr 17 22:24:52 CEST 2013


On Wed, Apr 17, 2013 at 1:03 PM, Danny Yoo <dyoo at hashcollision.org> wrote:


> ##########################
> ## double: string -> string
> def double(x):
>     return x + x
>
>

> ## For example, a blast from the past:
> print "The Noid says: " + double("pizza")
> ##########################
>

I'm sorry, but this is a bug.  The Noid tried to make Domino's pizzas get
cold before they arrived; Little Caesar said "Pizza, pizza!"


> ## For example, a blast from the past:
> print "Caesar says: " + double("pizza")
> ##########################
>

=D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130417/3e876283/attachment.html>


More information about the Tutor mailing list