valueError zero length field name in format

python

Solution

Pyhon2.6 requires you to put a positional argument in the `{}`

'< {0} >'.format(' '.join(items))

Problem

I am using python version 2.7.3 and im trying to print out some information with a certain format. ``` final="<".join('< {} >'.format(' '.join(items)) for items in list) ``` But i got a valueError zero length field name in format error, is this because my python version does not allow certain syntaxs?

Original source