Re: Exhibit: Session 2 of 10, a Python training

Carl Karsten <[email protected]>
Newsgroups gmane.comp.python.education
Message-ID <CADmzSSjSLuUHMpx4Y4eH+ur7yn5F0qd+h+847Ea7JcL44UgVnA@mail.gmail.com>
Um....

> So yeah, my technique is to keep introducing new concepts (e.g. for loop)
while continuing to use those looked at so far (e.g. print formatting).

That I get.

> Looping with for
>   more string formatting

That looks like deliberately introducing two new concepts at the same time
(for and
*more* string formatting)

Are you trying to introduce two more balls?

I have always made a point of one at a time, but maybe that is boring and
the student tunes out.




On Sat, Jun 24, 2017 at 11:04 AM, kirby urner <[email protected]> wrote:

> On Fri, Jun 23, 2017 at 6:32 PM, Carl Karsten <[email protected]>
> wrote:
>
>>
>> On Fri, Jun 23, 2017 at 3:12 AM, kirby urner <[email protected]>
>> wrote:
>>
>>> Looping with for
>>>    more string formatting
>>>
>>
>>
>> Kerby, I am curious about the pedagogy of introducing two distinct
>> concepts at the same time like that.   Care to elaborate?
>>
>
>
> I introduce string formatting with {placeholders} early in the training,
> and then keep using that. I also use the keywords list (keyword.kwlist) for
> raw material, when introducing for loops. So something like this:
>
> from keyword import kwlist
>
> for word in kwlist:
>     if word.islower():  # showing how conditionals work
>         print("Lowercase keyword: | {:20} |".format(word))
>
> The format method is a good stand-in for callables in general in that we
> can start looking at positional versus named arguments, * and ** as
> argument exploders etc.
>
> So yeah, my technique is to keep introducing new concepts (e.g. for loop)
> while continuing to use those looked at so far (e.g. print formatting).
>
> Kind of like a juggling act, where one keeps introducing more balls.
>
> Kirby
>
>
> Kirby
>
>
>

_______________________________________________
Edu-sig mailing list
[email protected]
https://mail.python.org/mailman/listinfo/edu-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.