Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: question about input() and/or raw_input() Date: Sun, 19 Jan 2014 19:11:14 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 33 Message-ID: References: NNTP-Posting-Host: dsl.comtrol.com X-Trace: reader1.panix.com 1390158674 1659 64.122.56.22 (19 Jan 2014 19:11:14 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Sun, 19 Jan 2014 19:11:14 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Xref: csiph.com comp.lang.python:64313 On 2014-01-19, Roy Smith wrote: > In article , > Grant Edwards wrote: > >> I can still remember the point in my first trip to the UK when I >> accidentally stumbled across darts on TV. Given the endless variety >> (and quantity) of pointless crap that people watch here in the US, I >> can't really explain why I was so baffled and amused by darts on TV -- >> but I was. > > What's so complicated? > > points = 501 > for dart in throws(): > if points - dart == 0 and dart.is_double(): > raise YouWin > if points - dart < 0: > continue > points -= dart > beer.drink() That looks like an algorithm for _playing_ darts. That I understand. I have two dartboards (one real, one electronic) and a coule decent sets of darts. It's watching darts on TV that I don't get. Actually, I don't really get watching any sort of sports on TV (even the ones I play). But there was just something about darts on TV that seemed particularly beyond the pale. -- Grant Edwards grant.b.edwards Yow! But they went to MARS at around 1953!! gmail.com