<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def search(term, provider=None):
 """Search for genomes that contain TERM in their name or description."""

    for row in genomepy.search(term, provider):
        print("\t".join([x.decode('utf-8', 'ignore') for x in row]))