We look at the division of 365238 by 18 
We want to divide 365238 by 18.

Going ahead to step 1:
When dividing 3 by 18, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 18

Let's proceed to step 2:
18 goes into 36 2 times with a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 36 from 36, we get 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 18

On to step 3:
5 divided by 18 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 20.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 18

Moving on to step 4:
If we divide 52 by 18, we get 2 and a remainder of 16.
The next digit of our result is 2. 
Result so far: 202.0
The remainder is 16 after subtracting 36 from 52.
Grab the next digit (3) from the dividend, add it to 16, then carry on: 163 / 18

Step 5:
If we divide 163 by 18, we get 9 and a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 2029.0
If we subtract 162 from 163, we get 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 18

Let's proceed to step 6:
If we divide 18 by 18, we get 1 and a remainder of 0.
The next digit of our result is 1. 
Result so far: 20291.0
The remainder is 0 after subtracting 18 from 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
The number 18 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 20291.0
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.

Advancing to step 8:
The number 18 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 20291.0
Subtracting 0 from 0 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.

The final outcome is 20291.0, with a leftover of 0.0.