Handling 3 operands in an expression without raising an exception
Joel Goldstick
joel.goldstick at gmail.com
Fri Sep 27 13:19:50 EDT 2013
On Fri, Sep 27, 2013 at 1:00 PM, Grant Edwards <invalid at invalid.invalid>wrote:
> On 2013-09-27, ?????????? <nikos.gr33k at gmail.com> wrote:
>
> > Sure your method follows the the logic in a straighforward way
> > step-by-step but i just dont want to spent almost 20 lines of code just
> > to calculate 2 variables(city and host).
>
> Does your provider charge you per line of code?
>
> If all that matters is the number of lines of code then use this:
>
> city,host = 0,0
>
> Only _1_ nice short line of code.
>
> Happy?
>
> --
> Grant Edwards grant.b.edwards Yow! If Robert Di Niro
> at assassinates Walter
> Slezak,
> gmail.com will Jodie Foster marry
> Bonzo??
> --
> https://mail.python.org/mailman/listinfo/python-list
>
Better yet, don't write the program. Zero lines of code, and every line
works perfectly. It runs extremely fast too!
... or Nikos the annoyance, write it in apl
--
Joel Goldstick
http://joelgoldstick.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130927/182856a0/attachment.html>
More information about the Python-list
mailing list