question about input() and/or raw_input()
Roy Smith
roy at panix.com
Sun Jan 19 13:37:29 EST 2014
More information about the Python-list mailing list
Sun Jan 19 13:37:29 EST 2014
- Previous message (by thread): question about input() and/or raw_input()
- Next message (by thread): question about input() and/or raw_input()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <lbh4oc$nqv$1 at reader1.panix.com>, Grant Edwards <invalid at invalid.invalid> 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()
- Previous message (by thread): question about input() and/or raw_input()
- Next message (by thread): question about input() and/or raw_input()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list