Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~9K People Reached
Favorite Forums
Favorite Tags
Member Avatar for ytq_

Hi, there's a list with tuples. lst = [('Meat', 'Milk'), ('Cake - Cookie',), ('Apple', 'Orange')] For each tuple of `len == 1` I want to split it at ` - ` so it results with: lst = [('Meat', 'Milk'), ('Cake', 'Cookie'), ('Apple', 'Orange')] I tried [tuple(x.split(' - ') for x …

Member Avatar for Lucaci Andrew
0
9K