Skip to content

Instantly share code, notes, and snippets.

@vpatov
Created August 17, 2017 14:35
Show Gist options
  • Save vpatov/fcf9cb0a01a1f87086d2281f09ae0128 to your computer and use it in GitHub Desktop.
Save vpatov/fcf9cb0a01a1f87086d2281f09ae0128 to your computer and use it in GitHub Desktop.
Problem 6
with open('input_6.txt','r') as f:
documents = f.read().split('-----')
documents = [doc.split() for doc in documents]
print(documents)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment