simple list comprehension python code example
Example 1: list comprehension
[expr for val1 in collection1 and val2 collection2 if(condition)]
Example 2: list comprehension
[expression for item in list]
Example 3: python list comprehension
h_letters = [ letter for letter in 'human' ]
print( h_letters)