Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f5d3605e62
Fetching contributors…

Cannot retrieve contributors at this time

file 10 lines (8 sloc) 0.213 kb
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env python

import re
import string
import sys

for line in sys.stdin:
  (year, temp, q) = string.strip().split(line)
  if (temp != "9999" and re.match("[01459]", q)):
    print "%s\t%s" % (year, temp)
Something went wrong with that request. Please try again.