Python - Lambda
Examples
#!/usr/bin/env python crange = lambda c1, c2: [ chr(c) for c in range(ord(c1), ord(c2)+1) ] print crange('A', 'Z') print crange('0', '9')
#!/usr/bin/env python crange = lambda c1, c2: [ chr(c) for c in range(ord(c1), ord(c2)+1) ] print crange('A', 'Z') print crange('0', '9')