Fork me on GitHub

Python Code

by James Geer

28 Aug 2013

friends = ['john', 'pat', 'gary', 'michael']
for i, name in enumerate(friends):
    print "iteration {iteration} is {name}".format(iteration=i, name=name)
James Geer is a MSIS student at UNC-Chapel Hill after graduating from UNC's undergrad with a degree in Strategic Communications. Find James Geer on Twitter, Github, and on the web.
comments powered by Disqus