String theory has no parameter except the string scale, so a dynamically compactified solution to 4 dimensional spacetime should determine both the Planck scale and the cosmological constant $Lambda$. In the racetrack Kahler uplift flux compactification model in Type IIB theory, where the string theory landscape is generated by scanning over discrete values of all the flux parameters, a statistical preference for an exponentially small $Lambda$ is found to be natural (arXiv:1305.0753). Within this framework and matching the median $Lambda$ value to the observed $Lambda$, a mass scale ${bf m}simeq 100$ GeV naturally appears. We explain how the electroweak scale can be identified with this mass scale.