On Mon, 26 Jun 2006 10:47:58 -0700, [EMAIL PROTECTED] wrote:
> whats the difference between raw input and input?
'input' is used to ask the user to input a python expression, which is
then run, and 'input' returns the result of executing that expression. For
example:
(define a function which pri
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> whats the difference between raw input and input?
*That* you should look up in the builtin functions section of chapter 1? of
the library reference manual. Chapter 2 of the same on builtin types is
also important to skim and be a
Tim Chase wrote:
> > bigone = 100
> >
> > number = input("Whats the first number?")
> > number2 = input ("Whats the second number?")
> > nu3 = number+number2
> > while nu3 < bigone:
> > print ("Not there yet, next number please")
> >
> > print "Finally there!"
> >
> > thats what i thought mayb
> bigone = 100
>
> number = input("Whats the first number?")
> number2 = input ("Whats the second number?")
> nu3 = number+number2
> while nu3 < bigone:
> print ("Not there yet, next number please")
>
> print "Finally there!"
>
> thats what i thought maybe it was...but after the first two nu
[EMAIL PROTECTED] wrote:
> I am doing alot of reading and trying to teach myself how to program.
> I can not figure out how to make "Write a program that continually
> reads in numbers from the user and adds them together until the sum
> reaches 100." this work. If someone could show me the correct
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
>
>>Claudio Grondi wrote:
>>
>>>[EMAIL PROTECTED] wrote:
>>>
I am doing alot of reading and trying to teach myself how to program.
I can not figure out how to make "Write a program that continually
reads in numbers from the user and a
Rune Strand wrote:
> [EMAIL PROTECTED] 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.
[EMAIL PROTECTED] 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 loo
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.
>
> ;-)
>
I d
[EMAIL PROTECTED] wrote:
> I am doing alot of reading and trying to teach myself how to program.
> I can not figure out how to make "Write a program that continually
> reads in numbers from the user and adds them together until the sum
> reaches 100." this work. If someone could show me the correct
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.
>
> ;-)
>
> 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.
;-)
--
http://mail.python.org/mailman/
[EMAIL PROTECTED] wrote:
> Claudio Grondi wrote:
> > [EMAIL PROTECTED] wrote:
> > > I am doing alot of reading and trying to teach myself how to program.
> > > I can not figure out how to make "Write a program that continually
> > > reads in numbers from the user and adds them together until the s
Claudio Grondi wrote:
> [EMAIL PROTECTED] wrote:
> > I am doing alot of reading and trying to teach myself how to program.
> > I can not figure out how to make "Write a program that continually
> > reads in numbers from the user and adds them together until the sum
> > reaches 100." this work. If
[EMAIL PROTECTED] wrote:
> I am doing alot of reading and trying to teach myself how to program.
> I can not figure out how to make "Write a program that continually
> reads in numbers from the user and adds them together until the sum
> reaches 100." this work. If someone could show me the correct
I am doing alot of reading and trying to teach myself how to program.
I can not figure out how to make "Write a program that continually
reads in numbers from the user and adds them together until the sum
reaches 100." this work. If someone could show me the correct code so i
can learn from that it
16 matches
Mail list logo