Hi, i am extremely new to python and i've been following a tutorial about learning to programm with python. After reading through the tutorial and answering the questions given by it i findally came to a question which i can't figure out!
***Warning: Extremely noobish, i know this***
the question is:
Write a program that continually reads in numbers from the user and adds them together until the sum reaches 100. Write another program that reads 100 numbers from the user and prints out the sum.
... i really got stuck here ... i would be happy if i just got the answer to this one so i could see it and start to understand and apply the solution myself.
If you do chose to respond and help me out : Thanks a lot!
(P.S i'm going on a holiday tomorrow (19.7.2007) so i will not respond for a long time ... still i'm sort of hoping i can get a reply really fast ...)
***Warning: Extremely noobish, i know this***
the question is:
Write a program that continually reads in numbers from the user and adds them together until the sum reaches 100. Write another program that reads 100 numbers from the user and prints out the sum.
... i really got stuck here ... i would be happy if i just got the answer to this one so i could see it and start to understand and apply the solution myself.
If you do chose to respond and help me out : Thanks a lot!
(P.S i'm going on a holiday tomorrow (19.7.2007) so i will not respond for a long time ... still i'm sort of hoping i can get a reply really fast ...)
Comment