400377 divided by 39 
Our goal is to divide 400377 by 39.

Step 1:
The number 39 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 39

Step 2:
39 can be fit into 40 1 times, resulting in a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 39 from 40 to get 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 39

Going ahead to step 3:
39 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Subtract 0 from 10 to get 10.
Append the next digit (3) from the dividend to 10 and continue with: 103 / 39

Going ahead to step 4:
39 goes into 103 2 times with a remainder of 25.
Put 2 as the next digit of the answer. 
Result so far: 102.0
Subtract 78 from 103 to get 25.
Append the next digit (7) from the dividend to 25 and continue with: 257 / 39

Step 5:
The number 39 fits into 257 6 times, leaving a remainder of 23.
Use 6 as the next digit of our solution. 
Result so far: 1026.0
The remainder is 23 after subtracting 234 from 257.
Fetch the next digit (7) from the dividend, attach it to 23 and continue: 237 / 39

Advancing to step 6:
When dividing 237 by 39, we get 6 with a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 10266.0
The remainder is 3 after subtracting 234 from 237.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
39 can be fit into 30 0 times, resulting in a remainder of 30.
The next digit of our result is 0. 
Result so far: 10266.0
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
If we divide 300 by 39, we get 7 and a remainder of 27.
The next digit of our result is 7. 
Result so far: 10266.07
Subtracting 273 from 300 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 9:
If we divide 270 by 39, we get 6 and a remainder of 36.
Write down 6 as next digit of the result. 
Result so far: 10266.076
If we subtract 234 from 270, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 10:
360 divided by 39 is 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 10266.0769
Subtracting 351 from 360 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.

Advancing to step 11:
When dividing 90 by 39, we get 2 with a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 10266.07692
Subtracting 78 from 90 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 12:
39 goes into 120 3 times with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 10266.076923
Subtracting 117 from 120 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 13:
If we divide 30 by 39, we get 0 and a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 10266.076923
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 14:
300 divided by 39 is 7 with a remainder of 27.
The number 7 becomes the next digit in our result. 
Result so far: 10266.07692307
Subtracting 273 from 300 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

The final outcome is 10266.07692307, with a leftover of 2.7e-08.