I am out of trial and error again Lists

Seymore4Head Seymore4Head at Hotmail.invalid
Thu Oct 23 13:07:30 EDT 2014


On Thu, 23 Oct 2014 13:01:18 -0400, Seymore4Head
<Seymore4Head at Hotmail.invalid> wrote:

>On Thu, 23 Oct 2014 15:55:35 +0000 (UTC), Denis McMahon
><denismfmcmahon at gmail.com> wrote:
>
>>On Thu, 23 Oct 2014 10:04:56 -0400, Seymore4Head wrote:
>>
>>> On Thu, 23 Oct 2014 09:15:16 +0000 (UTC), Denis McMahon
>>> <denismfmcmahon at gmail.com> wrote:
>>
>>>>Try the following 3 commands at the console:
>>
>>You obviously didn't, so I'll try again. Try each of the following three 
>>commands in the python console at the ">>>" prompt.
>>
>>1) 10
>10
>
>>2) range(10)
>range(0, 10)
>
>>3) str(range(10))
>'range(0, 10)'
>[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
>>
BTW I forgot to add that example 2 and 3 don't seem to be too useful
in Python 3, but they are in Python 2.  I don't understand how the
Python 3 is an improved version.

>>Show *and* describe the output in each case. Describing the output that 
>>you see is actually the key here, as it will allow us to assess whether 
>>you understand what you are actually seeing or not, and if you don't 
>>understand the output you see in the console, then we need to fix that 
>>very fundamental and basic issue before moving on to more complex stuff!
>>
>>> Ok Thanks
>>
>>You were expected to answer the question in the original. I have now set 
>>it as a clearer and more specific task.
>>
>>If you're not going to do these things that are intended to help you 
>>learn some of the basic features of the language, then I and everyone 
>>else here that has so far been attempting to help you are wasting our 
>>time.
>
>I did try them.  I may have missed replying your to your specific
>comment, but I tried them.
>
>BTW str(range (10)) does work with Python 2 which is where I may have
>got the idea.  I happened to be using Python 3 at the time I tried to
>implement it.  It is a little confusing jumping back and forth, but
>for the moment, I am going to tough it out.
>
>I do appreciate all the help too.



More information about the Python-list mailing list