Step 1: Change the speed into metres per second.
Speed is $72$ km/h. To get m/s, multiply by $\frac{5}{18}$, giving $72 \times \frac{5}{18} = 20$ m/s.
Step 2: Recall what the train must cover.
While crossing a platform, the train covers its own length plus the platform length.
Step 3: Find the total distance covered.
Distance is speed times time, so $20 \times 24 = 480$ m.
Step 4: Write the distance as a sum.
This $480$ m equals the train length plus the platform of $180$ m. \[ \text{train} + 180 = 480 \]
Step 5: Subtract the platform length.
Train length $= 480 - 180 = 300$ m.
Step 6: State the answer.
The train is $300$ m long. \[ \boxed{300 \text{ m}} \]