Skip to content

Instantly share code, notes, and snippets.

@pcote
Created August 7, 2016 13:40
Show Gist options
  • Select an option

  • Save pcote/75c0dafd65dc54578783e664fdbe0470 to your computer and use it in GitHub Desktop.

Select an option

Save pcote/75c0dafd65dc54578783e664fdbe0470 to your computer and use it in GitHub Desktop.
tupled_result_list = [tuple(result.split(" - ")[:2])
for result in result_list
if result]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment