Beginner Programmer Question

kydavis77 at gmail.com kydavis77 at gmail.com
Mon Jun 26 13:47:58 EDT 2006


Rune Strand wrote:
> kydavis77 at gmail.com wrote:
> > Rune Strand wrote:
> > > >
> > > > I am doing alot of reading, and the problem didnt come with an answer.
> > > > I dont understand how to get it to continually input numbers and add
> > > > all those together
> > >
> > > Use while, raw_input, sys.argv[1] and int() and break the loop when the
> > > sum is above 100.
> > >
> > > ;-)
> >
> > thanks for the help..but i am extremley new and what you said makes no
> > sense to me
>
> In the code you posted above here: Move the input into the while loop.
> You may prefer raw_input() to input().
>
> I don't want to write the code for you ;-)

whats the difference between raw input and input?




More information about the Python-list mailing list