On Wed, Jul 27, 2011 at 9:11 PM, Thomas C. Hicks <para...@pobox.com> wrote:
> On Wed, 27 Jul 2011 20:16:31 -0400 > Alexander Quest <alexxqu...@gmail.com> 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(1, 50) does not include 50.) > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor