items = [{'num': 3, 'obj': 'books'}, {'num': 1, 'obj': 'pen'}, {'num': 2,
    'obj': 'cellphones'}]
objects = ' and '.join(['{num} {obj}'.format(**item) for item in items])
Building up a string using a list of values