Click the green flag. Turbo mode recommended
I saw a problem in a textbook and made a sim to solve it 'A person stands in the middle of a road. They take either a step left or right with equal probability. If they take a sum of three steps in either direction they fall off the road. How many steps on average will the person take before falling off the road?'