I often find myself doing the following:
a = [1, 3, 2]
b = 'blah blah'
...
print("{} {} {} {}".format(b, a[0], a[1], a[2]))
>blah blah 1 3 2
Is there a way to transform the array into a list of list of parameters? What I mean is the equivalent of:
print("{} {} {} {}".format(b, a))#Not valid Python code
>blah blah 1 3 2
Alternatively, is there a better way of using lists in formatting strings?