return reduce(lambda x, y: x + y * pow(0.1, len(s.split('.')[1])), map(int, s.split('.')))
Sign in to make a reply
江南烟雨人7411