[Tutor] a little loop

2013-05-27 Thread Tim Hanson
Okay, so I made it to FOR loops in the Lutz book. A couple of days ago I was helped here with the .join method for creating strings from lists or tuples of strings. I got to wondering if I could just, for the sake of learning, do the same thing in a FOR loop, since that's today's chapter: x=0

Re: [Tutor] making a string

2013-05-25 Thread Tim Hanson
On Saturday, May 25, 2013 09:10:00 pm Jim Mooney wrote: > On 25 May 2013 20:49, Tim Hanson wrote: > > A lot of people tend to be intimidated by Mark Lutz, and so am I, I > > guess. > > Interesting coincidence. This is a retirement project and I just > decided on the

Re: [Tutor] making a string

2013-05-25 Thread Tim Hanson
On Saturday, May 25, 2013 08:31:49 pm Martin A. Brown wrote: > Greetings Tim, > > : I'm new to this, just getting through the first Mark Lutz book. > > Python objects, either variables your ham below or the string 'spam' > you entered manually have a specific type. Each and every variable > or

[Tutor] making a string

2013-05-25 Thread Tim Hanson
I'm new to this, just getting through the first Mark Lutz book. If I start out with : ham=list('spam');ham ['s','p','a','m'] How do I get a string back? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mai