397221 divided by 12 
We're looking to find how many times 12 goes into 397221.

Moving on to step 1:
12 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 12

Advancing to step 2:
12 can be fit into 39 3 times, resulting in a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 36 away from 39, we end up with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 12

Step 3:
12 can be fit into 37 3 times, resulting in a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 33.0
The remainder is 1 after subtracting 36 from 37.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 12

Moving on to step 4:
12 can be fit into 12 1 times, resulting in a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 331.0
If we take 12 away from 12, we end up with 0.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 12

Advancing to step 5:
12 can be fit into 2 0 times, resulting in a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 3310.0
Subtract 0 from 2 to get 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 12

Going ahead to step 6:
12 can be fit into 21 1 times, resulting in a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 33101.0
Subtracting 12 from 21 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 7:
90 divided by 12 is 7 with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 33101.7
Subtract 84 from 90 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 8:
The number 12 fits into 60 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 33101.75
Subtracting 60 from 60 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
If we divide 0 by 12, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 33101.75
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
The number 12 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 33101.75
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 33101.75 with a remainder of 0.0.