Thursday, July 17, 2014

How to get the alphabet range

Code
import string                                              #1
string.ascii_lowercase                                     #2

How this works - Line by Line

import string                                        #1

Imports the string module

string.ascii_lowercase                               #2
 
This returns the alphabet range in lower case.

No comments:

Post a Comment