python adds an extra half space when reading froma string or list -- back to the question

2013-07-01 Thread Joel Goldstick
I copied the original question so that the rant on the other thread can continue. Let's keep this thread ontopic number_drawn=() def load(lot_number,number_drawn): first=input(enter first lot: ) last=input(enter last lot: ) for lot_number in range(first,last):

Re: python adds an extra half space when reading froma string or list -- back to the question

2013-07-01 Thread Joshua Landau
On 1 July 2013 20:32, Joel Goldstick joel.goldst...@gmail.com wrote: I copied the original question so that the rant on the other thread can continue. Let's keep this thread ontopic Thank you. I shall do the same below. Unfortunately I don't have high hopes that any progress will be made on

Re: python adds an extra half space when reading froma string or list -- back to the question

2013-07-01 Thread Dave Angel
On 07/01/2013 03:32 PM, Joel Goldstick wrote: I copied the original question so that the rant on the other thread can continue. Let's keep this thread ontopic number_drawn=() def load(lot_number,number_drawn): first=input(enter first lot: ) last=input(enter last lot: ) for

Re: python adds an extra half space when reading froma string or list -- back to the question

2013-07-01 Thread rusi
On Tuesday, July 2, 2013 1:32:44 AM UTC+5:30, Dave Angel wrote: But what was the expected output? And who cares? The code made no sense, was incomplete, and the posted question was nonsensical. Yes in this specific instance all this is probably true. I believe however, that Joel's intent in

Re: python adds an extra half space when reading froma string or list -- back to the question

2013-07-01 Thread Dave Angel
On 07/01/2013 05:16 PM, rusi wrote: On Tuesday, July 2, 2013 1:32:44 AM UTC+5:30, Dave Angel wrote: SNIP Yes in this specific instance all this is probably true. I believe however, that Joel's intent in reposting this is more global (and important) in its scope, viz: If this list

Re: python adds an extra half space when reading froma string or list -- back to the question

2013-07-01 Thread alex23
On 2/07/2013 5:32 AM, Joel Goldstick wrote: I copied the original question so that the rant on the other thread can continue. Let's keep this thread ontopic You've included the same set of code twice. Also, it doesn't run as is, so you haven't reduced it to a minimal working example for us