Median= 0,1,2,3,4,5,6,7,8,9
Here because there is even number of digits 4 and 5 are the median. But only a single number can be a median.
So here this is the formula = 1st median+2nd median
2
4+5/2 = 9/2 = 4.5
So the median of the first ten whole numbers is 4.5