Skip to content

Instantly share code, notes, and snippets.

@nmcv
Created November 1, 2012 01:18
Show Gist options
  • Save nmcv/3991007 to your computer and use it in GitHub Desktop.
Save nmcv/3991007 to your computer and use it in GitHub Desktop.
Generate lowercase letters of the English alphabet in Python without using strings module
# Lowercase 'a' to 'z' list
print [chr(i) for i in xrange(ord('a'), ord('z')+1)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment