[Tutor] List and tuple question -resend #2

2008-05-04 Thread quantrum75
Sincerely sorry for spamming everybody. Dint know about yahoo's quirks regarding html attachments.. Hopefully this works. Hi everybody I have a simple newbie kind of questions. I have tried hard to solve it, but couldn't figure it out. The problem is, I want to make a tuple of tuples or a list o

[Tutor] List and tuple question -resend

2008-05-04 Thread quantrum75
Hi everybodyI have a simple newbie kind of questions. I have tried hard to solve it, but couldn't figure it out.The problem is,I want to make a tuple of tuples or a list of lists in a iterative fashion in the following format. For example,a=[[1,],[2,],[3,],[4,],[5,]]or a=((1,),(2,),(3,),(4,),(5,))I

[Tutor] list and tuple question

2008-05-04 Thread quantrum75
Hi everybodyI have a simple newbie kind of questions. I have tried hard to solve it, but couldn't figure it out.The problem is,I want to make a tuple of tuples or a list of lists in a iterative fashion in the following format. For example,a=[[1,],[2,],[3,],[4,],[5,]]or a=((1,),(2,),(3,),(4,),(5,))I

[Tutor] Noob question

2007-12-09 Thread quantrum75
Hi there, I am a newbie trying to actively learn python. My question is, Suppose I have a list a=["apple","orange","banana"] How do I convert this list into a string which is b="appleorangebanana" Sorry for my ignorance, but I have been trying a "for" loop and trying the inbuilt str.join() metho