Python| get a string of all the lowercase letters ['a'..'z']
1. string.lowercase
2. chr(n) for n in range(ord('a'), ord('z')+1)
FastCode - Quick Lookup for Small Solutions to Small Programming Problems : FastCode will have code snippets and programming tips to help me (and any one else who is interested) write code fast. Sources of these tips will be mentioned whereever possible. This is only a repository, and no more, for C, C++, Java and Python and Perl code snippets and tips. If you want to submit tips, send me email.
0 Comments:
Post a Comment
<< Home