In <39ec91a8-eeae-489f-9237-9d9a481a8...@googlegroups.com> 38016226...@gmail.com writes:
> 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 insert() does not return anything; it modifies the existing list in-place. -- John Gordon A is for Amy, who fell down the stairs gor...@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies" -- https://mail.python.org/mailman/listinfo/python-list