Skip to content

Instantly share code, notes, and snippets.

@datahutrepo
Created September 7, 2016 06:18
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 datahutrepo/9531c7a6a97c2e12e42f1ef5077ce96f to your computer and use it in GitHub Desktop.
Save datahutrepo/9531c7a6a97c2e12e42f1ef5077ce96f to your computer and use it in GitHub Desktop.
In [28]: top_stories = []
In [29]: for i in zip(news_stories, news_links):
....: top_stories.append(i)
....:
In [30]: top_stories
Out[30]:
[('FBI launches investigation into suspected Russian email hack',
'/2016/07/25/politics/democratic-convention-dnc-emails-russia/index.html'),
("Two dead, 14 injured at Florida 'Swimsuit Glow Party'",
'/2016/07/25/us/fort-myers-nightclub-shooting/index.html'),
('Suicide bomber was slated to be deported',
'/2016/07/24/world/ansbach-germany-blast/index.html'),
('German public questions refugee policy',
'/2016/07/25/europe/germany-attacks-asylum-seekers-refugees/index.html'),
('Brutal killing of boy, 10, sparks protests',
'/2016/07/25/world/protests-boy-killed-bangladesh/index.html'),
("Mapped: Trump's Muslim travel ban ",
'/2016/06/15/politics/muslim-ban-maps-donald-trump/index.html'),
("Father of slain social star: 'I want revenge'",
'/2016/07/24/world/qandeel-baloch-death-father-azeem/index.html'),
("World's most-loved airline is...",
'/2016/07/24/aviation/tripadvisor-world-favorite-airlines/index.html'),
('Pop star apologizes for kicking dancer ',
'/2016/07/25/africa/koffi-olomide-dancer-kenya/index.html')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment