Float Object Is Not Subscriptable