<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def define(rest):
	"Define a word"
	word = rest.strip()
	res = util.lookup(word)
	fmt = (
		'{lookup.provider} says: {res}' if res else
		"{lookup.provider} does not have a definition for that.")
	return fmt.format(**dict(locals(), lookup=util.lookup))