Skip to content

Instantly share code, notes, and snippets.

@bennuttall
Last active March 9, 2016 18:21
Show Gist options
  • Save bennuttall/4652024 to your computer and use it in GitHub Desktop.
Save bennuttall/4652024 to your computer and use it in GitHub Desktop.
Code snippets from ASCII Bar Charts blog post
2000 ||
2001 |||||||||
2002 ||||||||||
2003 |||||||||
2004 ||||||||||||||
2005 |||||||||||
2006 ||||||||
2007 ||||||||||
2008 ||||||||||||||
2009 |||||||||||||||||||
2010 ||||||||||||||||
2011 |||||||||||||||||
for y in years:
print y, years[y]*'|'
years = {2000: 2, 2001: 9, 2002: 10, 2003: 9, 2004: 14, 2005: 11, 2006: 8, 2007: 10, 2008: 14, 2009: 19, 2010: 16, 2011: 17}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment