Mega Code Archive
Categories
/
Python
/
Buildin Function
List comprehensions
res = [ord(x) for x in 'spam'] # apply expr to seq print res