>-----Original Message-----
>From: Tutor [mailto:tutor-bounces+crk=godblessthe...@python.org] On
>Behalf Of Ben Finney
>Sent: Sunday, November 09, 2014 8:25 PM
>To: tutor@python.org
>Subject: Re: [Tutor] don't understand iteration
>
>"Clayton Kirkwood" <c...@godblessthe.us> writes:
>
>> >-----Original Message-----
>> >From: Tutor [mailto:tutor-bounces+crk=godblessthe...@python.org] On
>> >Behalf Of Dave Angel
>
>(Clayton, does your mail client not present messages written by their
>authors? The messages should not come to you “From:” the tutor list
>itself. It's awkward to follow whom you're quoting.)

I think it does, I am replying to your email just as stated in the above 
indented header.

>
>> >(month, day, time, ap, offset) = blah.group( *list (range (1, 6)))
>> >
>> >Should do it.
>
>> Where did you find that one?
>
>Working through the Python Tutorial (actually doing the examples, and
>working to understand them before moving on) teaches these and other
>Python concepts <URL:https://docs.python.org/3/tutorial/>.

Actually Ben, I do turn to the documentation first and foremost, and only after 
hours of trying things and their variations do I grovel and come here.

>
>> What does the '*' do/why?
>
>Learn about sequence unpacking in function parameters at the Tutorial
><URL:https://docs.python.org/3/tutorial/controlflow.html#tut-unpacking-
>arguments>.

As I said above.

>
>> And why the weird range thing?
>
>Learn about the ‘range’ built-in at the Python library reference
><URL:https://docs.python.org/3/library/functions.html#func-range>.
>
>--
> \         “I went to the museum where they had all the heads and arms |
>  `\      from the statues that are in all the other museums.” —Steven |
>_o__)                                                           Wright |
>Ben Finney
>
>_______________________________________________
>Tutor maillist  -  Tutor@python.org
>To unsubscribe or change subscription options:
>https://mail.python.org/mailman/listinfo/tutor


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to