changeset 359 | cb17c87b090e |
parent 358 | 162e3e453920 |
child 385 | c70118cdde66 |
358:162e3e453920 | 359:cb17c87b090e |
---|---|
1 science = {} |
1 science = {} |
2 |
2 |
3 for record in open('sslc1.txt'): |
3 for record in open('sslc1.txt'): |
4 record = record.strip() |
4 # record = record.strip() |
5 fields = record.split(';') |
5 fields = record.split(';') |
6 |
6 |
7 region_code = fields[0].strip() |
7 region_code = fields[0].strip() |
8 |
8 |
9 if region_code not in science: |
9 if region_code not in science: |