python - Splitting a list -
I pressed different resources and could not understand how to do a simple operation.
Now, I have the following types of list:
li = [['a = b'], ['c = d']]
I want to change it as: As I understand, the - DAN li = [['a', 'b'], ['c', 'd']]
partition ("=")
only applies to string types.
Comments
Post a Comment