list compreshesion python code example Example: python list comprehesion number_list = [ x for x in range(20) if x % 2 == 0]