Arduino String Length Function In Python Code