34 ÷ 2 = 17 R0
Let's divide 34 by 2.

Step 1:
2 goes into 3 1 times with a remainder of 1.
Write down 1 as next digit of of the result. 
Result so far: 1
Subtract 2 from 3 to get 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 2

Step 2:
2 goes into 14 7 times with a remainder of 0.
Write down 7 as next digit of of the result. 
Result so far: 17
Subtract 14 from 14 to get 0.

The final result is 17 with a remainder of 0.