List comprehensions in python basically reduce the loc.
Check the difference between two procudures. Both generates the same output.
Its complicated for the one's who dnt know about list comprehensions.
Readability wise procedure2 is good.
List comprehensions in python basically reduce the loc.
Check the difference between two procudures. Both generates the same output.
Its complicated for the one's who dnt know about list comprehensions.
Readability wise procedure2 is good.
2 Comments
Please Login to Comment Here