superexacttestpy.tl.formating

superexacttestpy.tl.formating(barcode, names, collapse=' & ')

Format a barcode to a string

Parameters:
barcode : str

The barcode to format

names : list

The list of names to use

collapse : str

The string to use to collapse the barcode

Returns:

The formatted barcode

Return type:

str

Example

>>> formating("011",["First","Second","Third"])
...    'Second & Third'