利用map和reduce编写一个str2float函数,把字符串'123.456'转换成浮点数123.456:

NoSuchKey