Q:

Quick way to modify a tuple value from list to string?

I have an API that returns values in the following form:
[('ABC123', ['DEF456']), ('EFG789', ['HIJ123'])]

Using python, I am attempting to return a list of tuples with only string values.  For any tuple value that is a list, I only seek to return the sole value of that list.
Proposed output:
[('ABC123', 'DEF456'), ('EFG789', 'HIJ123')]

I've attempted to use a list comprehension, but I haven't been too successful with my attempt.  Any help is greatly appreciated.

A:

Just a comprehension
result = [(a, b[0]) for a, b in original_list]

