Python String Length Function Python Code