<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def mmi_to_delimited_text(self):
 """Return the mmi data as a delimited test string. :returns: A delimited text string that can easily be written to disk for e.g. use by gdal_grid. :rtype: str The returned string will look like this:: 123.0750,01.7900,1 123.1000,01.7900,1.14 123.1250,01.7900,1.15 123.1500,01.7900,1.16 """

        delimited_text = 'lon,lat,mmi\n'
        for row in self.mmi_data:
            delimited_text += '%s,%s,%s\n' % (row[0], row[1], row[2])
        return delimited_text