Step 1: Use Bohr's energy levels.
In a hydrogen atom the energy of the $n^{\text{th}}$ orbit is $$E_n = -\frac{13.6}{n^2}\ \text{eV}.$$
Step 2: Match the given energy.
We are told $E = -3.4\ \text{eV}$, so $$-3.4 = -\frac{13.6}{n^2}.$$
Step 3: Solve for $n^2$.
Cancelling the minus signs, $$n^2 = \frac{13.6}{3.4} = 4.$$
Step 4: Find the quantum number.
Taking the positive root, $n = 2$, the first excited state.
Step 5: Apply Bohr's angular-momentum rule.
Bohr's second postulate quantises angular momentum as $$L = \frac{n h}{2\pi}.$$
Step 6: Substitute $n = 2$.
$$L = \frac{2h}{2\pi} = \frac{h}{\pi}.$$ The factor of $2$ cancels neatly.
\[ \boxed{L = \frac{h}{\pi}} \]