Skip to content

use of map function in python

There are many situations when similar operations have to performed on a complete list of data’s. A beginner will write for/while loop to perform this. But wait, there is a better and faster way to do this in python. This is where map() function . It is faster and can be done in just one line. Consider following example where, you need to carry find a square of all the… Read More »Python Tutorial : Use Map Function to speedup your python code

Python Tutorial : Use Map Function to speedup your python code

  • by