mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-08 23:04:35 +00:00
[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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user