how to create a range of random decimal numbers between 0 and 1
<p>how do I define decimal range between 0 to 1 in python? Range() function in python returns only int values. I have some variables in my code whose number varies from 0 to 1. I am confused on how do I put that in the code. Thank you </p>

<p>I would add more to my question. There is no step or any increment value that would generate the decimal values. I have to use a variable which could have a value from 0 to 1. It can be any value. But the program should know its boundary that it has a range from 0 to 1. I hope I made myself clear. Thank you</p>

<p><a href="http://docs.python.org/library/random.html" rel="nofollow">http://docs.python.org/library/random.html</a></p>
