def city_functions(city, country, population=''):
    """Generate a neatly formatted city."""
    if population:
        return (city.title() + ', ' + country.title() + ' - population ' +
                str(population) + '.')
    return city.title() + ', ' + country.title() + '.'