Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag
Created September 10, 2019 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BMU-Verlag/dda6280b1234a5f033a0770a39c66ca9 to your computer and use it in GitHub Desktop.
Save BMU-Verlag/dda6280b1234a5f033a0770a39c66ca9 to your computer and use it in GitHub Desktop.
for line in relevant_lines:
contents = line.split('(') ## ["name", "jahr-jahr), zusatz"]
name = contents[0]
remaining_contents = contents[1].split(')') ## ["jahr-jahr", "zusatz"]
age_range = remaining_contents[0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment