It was stated that there were two possibilities during the day, that is, it can either be a sunny day or a rainy day.
Let us represent a sunny day with S, and represent a rainy day with R.
Using this to get the sample space for the three days as shown below


So, The total sample space is

The probability that it is sunny all three days would be

The Sample space for all sunny day is SSS. so number of element of all sunny day would be

Therefore, the probability that it is sunny all three days would be

Hence, the probability that it is sunny all three days is 1/8 or 0.125