

def _pluralstr(string, value):
    if (value == 1):
        return '1 {}'.format(string)
    else:
        return '{} {}s'.format(value, string)

dataset/ETHPy150Open KoffeinFlummi/Chronyk/chronyk/chronyk.py _pluralstr/original