In article <[email protected]>,
 Ned Batchelder <[email protected]> wrote:

> On 10/19/13 8:57 AM, Roy Smith wrote:
> > On 10/19/13 8:23 AM, Scott Novinger wrote:
> >>> My goal is to make sure that the value entered for the radius is an 
> >>> integer
> >>> value.
> > In article <[email protected]>,
> >   Ned Batchelder <[email protected]> wrote:
> >
> >> First, radius is the result of input(), so it is
> >> always a string, never an int.
> > input() returns ints or floats for values which can be converted to
> > those.  I suspect you're thinking of raw_input()?
> In Python 3, input() returns a string.
> 
> --Ned.

Duh.  My bad.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to