All pastes #251475 Raw Edit

AZ.py

public python v1 · immutable
#251475 ·published 2006-11-18 05:48 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 sysline=sys.stdin.readline()while line:    bs(line.strip())    line=sys.stdin.readline()