List(map(fun,variable)) not working

Screen Link:

Your Code: floats = list(map(float, not_floats))

What I expected to happen: It should covert the map object into list as also mentioned in the solution provided by dataquest in this link excercise.

What actually happened: ```—> 18 floats = list(map(float, not_floats))

TypeError: ‘map’ object is not callable``` to format properly

Other details: Please help

This construction shall work.

>>> floats = list(map(float, [1,2,3]))
>>> floats
[1.0, 2.0, 3.0]

Try to reload the session, probably not all packages were loaded properly?

This very much looks like you overwrote the map variable with something else.

Try running del map before your code.