Question: Can anyone show me how to code a 2d random walk in python? 1. N=500 (500steps) 2. That python code can create a .txt file
Can anyone show me how to code a 2d random walk in python?
1. N=500 (500steps)
2. That python code can create a ".txt" file that has all points' coordinates.
3. Create lists to hold points in the random walk (along with 'arrow' vectors) in the .txt file X = [] Y = [] AX = [] AY = []
*******I need a ".txt" file output with x,y coordinates in that need to be a ".txt" file**************
Thanks a lot! Plz no copy and paste from others!!!!!!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
