variable length of %s with the % operator in python,"print('<%.*s>' % (len(text) - 2, text))"