Python For Loop Length Of Array Arduino