Fix enumerate code snippet to run without error message

Code previously added numbers to strings, which results in a TypeError
Merge pull request #292 from mattboehm/master

Fix enumerate code snippet to run without error message