<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fetch_appl():
 """Returns stock prices for Apple company."""

    yql = YQL('AAPL', '2014-01-01', '2014-01-10')

    for item in yql:
        print item.get('date'), item.get('price')

    yql.select('AAPL', '2014-01-01', '2014-01-10')

    for item in yql:
        print item.get('date'), item.get('price')