Trouble with map()
python
Solution
You are using python 3 which returns generators instead of lists.
Call `list(x)` on the variable after you assign it the map generator.
Problem
I'm trying to convert the values of a list using the `map` function but i am getting a strange result. ``` s = input("input some numbers: ") i = map(int, s.split()) print(i) ``` gives: ``` input some numbers: 4 58 6 <map object at 0x00000000031AE7B8> ``` why does it not return ['4','58','6']?