Sep-22-2019, 01:57 AM
a better way to print this is:
header = ['one', 'two', 'three'] data_bytes = [1,2,3,4,5] print(f"{[x for x in header]}, {data_bytes[0]}")
Output:['one', 'two', 'three'], 1