The code use lots of list conversion and map operators. Replace this code by list coprehension.
The code use lots of list conversion and map operators.
Replace this code by list coprehension.