All pastes #251473 Raw Edit

Anonymous

public text v1 · immutable
#251473 ·published 2006-11-18 05:46 UTC
rendered paste body
def between(a, b, f="/usr/share/dict/words"):
	fd=open(f,"r")
	line=fd.readline()
	for line in fd:
		word = line.strip()
		if word > b:
			break
		if word > a:
			print word
	fd.close()

def between_s(a):
     parts=a.split()
     between(parts[0],parts[2])


import sys
line=sys.stdin.readline()
while line:
    bs(line.strip())
    line=sys.stdin.readline()