[Tutor] help with integers

Joel Goldstick joel.goldstick at gmail.com
Wed Sep 15 02:22:11 CEST 2010


On Tue, Sep 14, 2010 at 8:00 PM, Ciera Jones <cjo1555 at gmail.com> wrote:

> Hi
> When I enter myvar= raw_input ("Please excuse a number of movies: ")
> and I try and convert it to an integer it gives me an error message.
> I put in:
> movietotal=  int("myvar")* 3 and I get an error message
> Ciera
>

post your code.. and also windows/linux/mac?

if you post code and error message it will be easier to help

> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>



-- 
Joel Goldstick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100914/cece4ec0/attachment-0001.html>


More information about the Tutor mailing list