[svn r7526] ----------------------------------------------------------------------

r10823:  expo | 2006-08-05 15:28:25 +0100

Fiddled the folk list a bit, and added some 2006 people.
----------------------------------------------------------------------
This commit is contained in:
olly
2006-09-07 04:28:09 +02:00
parent 9e6b1c12a7
commit ade2583116
2 changed files with 218 additions and 211 deletions

View File

@@ -8,14 +8,14 @@ recordholders = []
output = ""
lines = sys.stdin.readlines()
headcounts_byyear = [0]*(len(lines[0].split(","))-4)
headcounts_byyear = [0]*(len(lines[0].split(","))-5)
for r in lines[1:]:
r = r.replace("\n","")
r = r.replace("\r", "")
cells = r.split(",") # chomp newline
(name, guest, vfho, mug) = cells[:4]
years = cells[4:]
(name, surname, guest, vfho, mug) = cells[:5]
years = cells[5:]
expos_caving = len([t for t in years if t == "1"])
expos_notcaving = len([t for t in years if t == "-1"])
if(expos_caving == 0 and expos_notcaving == 0):