I wrote a program in Python that calculates a random walk for an array given certain parameters.
I presume the "random" function is working, since I get the output " (I am using iPython). However, I cannot plot the function on a graph, because the float() argument must be a string or number, not a function. Nevertheless, given the recursive nature of the variables in question, it needs to be defined as a function for the program to run.
How can I graph this?