Introduction - If you have any usage issues, please Google them yourself
The following on the xy coordinate system of the game is a two-dimensional random walk. From the origin (0,0), at each iteration are made to the left, up, right or down does not constitute a unit random. When actors return to the origin when walking over. In the two-dimensional world, the probability of this happening is 1, and the probability is less than a three-dimensional world. Please write a 100 times independent random walk process, and calculate the number of steps in each direction of the average.