Why does the insert after list function fail?

380162267qq at gmail.com 380162267qq at gmail.com
Thu Sep 22 15:29:12 EDT 2016


A=["1","2","3"]
print(list(map(float,A)).insert(0,1))

I want to insert 1 at the head of the list but this gives me a surprise



More information about the Python-list mailing list