which is nicer?
float(len(str))
or str.len().float()
Also, there's numerous ways of doing the same thing, despite that being contrary to python's philosophy