posted 8 years ago
How can I use a returned value in python? Here is what I mean
I want to take the random number that is returned from rand() and use it in another function, but I can't seem to get it to work. Where am I going wrong? I know that inside the DEF, it is a local variable and that is why it is not recognized - is there a way around this? So when a value is returned, it is considered a global variable?