To solve the problem, we can use the ratio of pants to shorts and the total number available.
The ratio of pants to shorts is 4:3. This means for every 4 pants, there are 3 shorts.
Let's denote the number of pants as \( P \) and the number of shorts as \( S \). According to the ratio:
\[ \frac{P}{S} = \frac{4}{3} \]
This can be rewritten as:
\[ P = \frac{4}{3}S \]
We also know from the problem statement that the total number of pants and shorts is 70:
\[ P + S = 70 \]
Now we can substitute \( P \) in the total equation:
\[ \frac{4}{3}S + S = 70 \]
To combine the terms, convert \( S \) into a fraction:
\[ \frac{4}{3}S + \frac{3}{3}S = 70 \]
Which simplifies to:
\[ \frac{7}{3}S = 70 \]
Now, to solve for \( S \), multiply both sides by 3:
\[ 7S = 210 \]
Now, divide by 7:
\[ S = 30 \]
Thus, the number of shorts is \( S = 30 \).
So the answer is:
30 shorts