def formatn(number: int, unit: str) -> str:
    'Add "unit" if it\'s plural.'
    if (number == 1):
        return f'1 {unit}'
    return f'{number:d} {unit}s'
Add "unit" if it's plural.
def formatn(number: int, unit: str) -> str:
    'Add "unit" if it\'s plural.'
    if (number == 1):
        return f'1 {unit}'
    return f'{number:d} {unit}s'