is it possible to convert the code using list comprehension
11
How do you split a list into evenly sized chunks?
88377
this code isn't printing as I want it to - python
3354
Permutations[Range[12]] produces an error instead of a list
66828
Create a dictionary with list comprehension
49981
Converting a string representation of a list into an actual list object
47804
covert a string which is a list into a proper list python
45228
list to dictionary conversion with multiple values per key?
102203
Elegant manipulation of the variables list
156992
l.append[i], object is not subscriptable?
105567
Recursive list comprehension in Python?
146185
Convert a list of rules into 2 lists of integers
2758
How do I convert two lists into a dictionary?
27396
Generator expressions vs. list comprehensions
3678
Converting a string that represents a list, into an actual list object
49702
How do I create a list of Python lambdas (in a list comprehension/for loop)?
48135
if/else in a list comprehension
135644
Code is indented 4 spaces but is not interpreted as code [this has nothing to do with lists]