Arduino Define String Length Function Python