def table_to_report(table, measure):
    """Return a report by taking arguments table and measure.

    Args:
        table: an instance generated by c.fetchall(). table is a list of tuples
        and each tuple has only two values.
        measure: a unit of measure in string format.

    Returns:
        A report in the following form, where the first vaule in an above said
        tuple is before dash, the second value in the tuple is after dash, then
        a space followed by measure:
        'first value in tuple' - 'second value in tuple' 'measure'

        Example:
        John Smith - 1000 views
        Sun will also rise tomorrow - 10 clicks
    """
    report = ''
    for i in table:
        report += '{} - {}{}\n'.format(i[0], i[1], measure)
    return report