Answer the question
In order to leave comments, you need to log in
How to turn a list of strings into a list of tuples?
There is a list of strings of the form:
How to turn it into a tuple of the form
the standard application will split the string of the list character by character
a = ['abc', 'def']
b = [('abc',), ('def',)]
tuple
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question