This repository has been archived on 2020-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
|
def are(amount):
|
|
if amount == 1:
|
|
return 'is'
|
|
else:
|
|
return 'are'
|
|
def plural(amount, base, plural='s', singular=''):
|
|
if amount == 1:
|
|
return str(amount) + ' ' + base + singular
|
|
else:
|
|
return str(amount) + ' ' + base + plural
|