sequence item 0: expected str instance, bytes found code example
Example 1: TypeError: sequence item 0: expected str instance, int found
values = ','.join(map(str, value_list))
Example 2: TypeError: sequence item 0: expected str instance, int found
values = ','.join([str(i) for i in value_list])