On Wed, Jul 27, 2011 at 9:11 PM, Thomas C. Hicks wrote:
> On Wed, 27 Jul 2011 20:16:31 -0400
> Alexander Quest wrote:
x=range(1,50)
> mid=x[len(x)/2]
>
> You would have to make sure there is a way to work around decimal points in
the division. Also, I would try it in practice. (remember range(
On Wed, 27 Jul 2011 20:16:31 -0400
Alexander Quest wrote:
> Does anyone know how to assign a certain numerical range to a
> variable, and then choose the number that is the middle of that
> range? For example, I want to assign the variable "X" a range between
> 1 and 50, and then I want to have t