Arranging the weights in an ascending order, we have:
31, 35, 36, 38, 40, 44, 45, 52, 55, 60
Here, n = 10, which is even.
∴ Median weight = Average of (102)th and (102+1)th terms
= Average of 5th and 6th terms
=12(40+44) kg=842kg=42 kg
Hence, the median weight is 42 kg.