Re: [Tutor] Python Basic Help

2008-10-13 Thread phpfood
on turning numbers into letters: you can first do the arithmetic with python, then: you can convert the integer or double value to a string: str(answer) and then parse through each number value in the string and replace it with letters for the ones you choose On Mon, Oct 13, 2008 at 7:23 PM, W

Re: [Tutor] Python Basic Help

2008-10-13 Thread W W
If you hit reply to all, you'll send your response to the list, too. On Mon, Oct 13, 2008 at 2:05 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > > i am getting tons of error messages for the last one!!! i was wondering if > we could use if loop inside another if loop > Yes, you can use loops

Re: [Tutor] Python Basic Help

2008-10-13 Thread W W
What do you know so far? Do you know how to create a list or loop over the values inside a list? Try showing us what you've done so far and where you're stuck, then you'll get plenty of pointers. If you're just doing this on your own and not homework, you're probably starting on something a little

Re: [Tutor] Python Basic Help

2008-10-13 Thread Luke Paireepinart
smells like homework. On Mon, Oct 13, 2008 at 12:52 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hey > > My name is Tanya and i am new to python programmin. I have few questions > which hopefully will clear my doubts. > > > First question, we are given a list > > L = [ 345 , 32525 , 525 , 53

[Tutor] Python Basic Help

2008-10-13 Thread [EMAIL PROTECTED]
Hey My name is Tanya and i am new to python programmin. I have few questions which hopefully will clear my doubts. * First question, we are given a list L = [ 345 , 32525 , 525 , 53245 , 6536 ] how would i add them? like in this form - 3+4+5+3+2+5+.   * 2nd Question, we are