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

def WriteRow(stream, values):
  "Writes one row of comma-separated values to stream."
  stream.write(','.join([EncodeForCSV(val) for val in values]))
  stream.write('\n')