Re: Answers to homework questions [WAS]: Re: Python homework

2017-12-14 Thread Rustom Mody
On Thursday, December 14, 2017 at 7:02:56 PM UTC+5:30, Rustom Mody wrote:
> On Thursday, December 14, 2017 at 3:53:21 PM UTC+5:30, Lorenzo Sutton wrote:
> > Hi Roger,
> > 
> > On 13/12/17 23:31, ROGER GRAYDON CHRISTMAN wrote:
> > > On Wed, Dec 13, 2017, Lorenzo Sutton wrote:
> > >>
> > > On 05/12/17 06:33, nick martinez2 via Python-list wrote:
> > >>> I have a question on my homework. 
> > [...]
> > >> For this kind of problem I think the collections module [1] can be very
> > >> useful. In this case in particular have a look at the Counter package ;)
> > [...]
> > > 
> > > A nice answer at face value, and for general questions, but
> > > perhaps not the best given the subject line and the first sentence
> > > in the OP's note.
> >  >
> > [...]
> > > When I teach my course, I have no desire to have
> > > all my students turn into cargo cultists.
> > > 
> > > At least this particular student did post his intended solution,
> > > instead of outright begging for code.  And most of the responses
> > > I see did attempt to work within the perceived constraints
> > > regarding what language tools the student was expected to use.
> > 
> > I see your point as a teacher, but after all this *is* a Python mailing 
> > list and not a python-homework-support mailing list.
> > 
> > Plus, the OP had already received various good answers specifically 
> > helping them solve the problem along the lines of his proposed code, so 
> > I guessed hinting to a standard library module which is interesting and 
> > potentially relevant in this case might be useful to both the OP and 
> > other people on the ML while enriching the discussion ;-)
> 
> Somebody has already pointed out that some setting in Roger Christman's 
> mail client(?) breaks discussion threads.
> Now either Lorenzo is also breaking threads…
> Or else something in Roger's post makes the next person (in this case Lorenzo)
> break the thread¿?

Didn't notice that Lorenzo had renamed the subject line
Sorry for noise
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Answers to homework questions [WAS]: Re: Python homework

2017-12-14 Thread Rustom Mody
On Thursday, December 14, 2017 at 3:53:21 PM UTC+5:30, Lorenzo Sutton wrote:
> Hi Roger,
> 
> On 13/12/17 23:31, ROGER GRAYDON CHRISTMAN wrote:
> > On Wed, Dec 13, 2017, Lorenzo Sutton wrote:
> >>
> > On 05/12/17 06:33, nick martinez2 via Python-list wrote:
> >>> I have a question on my homework. 
> [...]
> >> For this kind of problem I think the collections module [1] can be very
> >> useful. In this case in particular have a look at the Counter package ;)
> [...]
> > 
> > A nice answer at face value, and for general questions, but
> > perhaps not the best given the subject line and the first sentence
> > in the OP's note.
>  >
> [...]
> > When I teach my course, I have no desire to have
> > all my students turn into cargo cultists.
> > 
> > At least this particular student did post his intended solution,
> > instead of outright begging for code.  And most of the responses
> > I see did attempt to work within the perceived constraints
> > regarding what language tools the student was expected to use.
> 
> I see your point as a teacher, but after all this *is* a Python mailing 
> list and not a python-homework-support mailing list.
> 
> Plus, the OP had already received various good answers specifically 
> helping them solve the problem along the lines of his proposed code, so 
> I guessed hinting to a standard library module which is interesting and 
> potentially relevant in this case might be useful to both the OP and 
> other people on the ML while enriching the discussion ;-)

Somebody has already pointed out that some setting in Roger Christman's 
mail client(?) breaks discussion threads.
Now either Lorenzo is also breaking threads…
Or else something in Roger's post makes the next person (in this case Lorenzo)
break the thread¿?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Answers to homework questions [WAS]: Re: Python homework

2017-12-14 Thread Rhodri James

On 14/12/17 10:22, Lorenzo Sutton wrote:

Hi Roger,

On 13/12/17 23:31, ROGER GRAYDON CHRISTMAN wrote:

On Wed, Dec 13, 2017, Lorenzo Sutton wrote:



On 05/12/17 06:33, nick martinez2 via Python-list wrote:
I have a question on my homework. 

[...]

For this kind of problem I think the collections module [1] can be very
useful. In this case in particular have a look at the Counter package ;)

[...]


A nice answer at face value, and for general questions, but
perhaps not the best given the subject line and the first sentence
in the OP's note.

 >
[...]

When I teach my course, I have no desire to have
all my students turn into cargo cultists.

At least this particular student did post his intended solution,
instead of outright begging for code.  And most of the responses
I see did attempt to work within the perceived constraints
regarding what language tools the student was expected to use.


I see your point as a teacher, but after all this *is* a Python mailing 
list and not a python-homework-support mailing list.


That implies you shouldn't have answered a homework assignment at all :-p

--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list


Answers to homework questions [WAS]: Re: Python homework

2017-12-14 Thread Lorenzo Sutton

Hi Roger,

On 13/12/17 23:31, ROGER GRAYDON CHRISTMAN wrote:

On Wed, Dec 13, 2017, Lorenzo Sutton wrote:



On 05/12/17 06:33, nick martinez2 via Python-list wrote:
I have a question on my homework. 

[...]

For this kind of problem I think the collections module [1] can be very
useful. In this case in particular have a look at the Counter package ;)

[...]


A nice answer at face value, and for general questions, but
perhaps not the best given the subject line and the first sentence
in the OP's note.

>
[...]

When I teach my course, I have no desire to have
all my students turn into cargo cultists.

At least this particular student did post his intended solution,
instead of outright begging for code.  And most of the responses
I see did attempt to work within the perceived constraints
regarding what language tools the student was expected to use.


I see your point as a teacher, but after all this *is* a Python mailing 
list and not a python-homework-support mailing list.


Plus, the OP had already received various good answers specifically 
helping them solve the problem along the lines of his proposed code, so 
I guessed hinting to a standard library module which is interesting and 
potentially relevant in this case might be useful to both the OP and 
other people on the ML while enriching the discussion ;-)


Best,
Lorenzo.
--
https://mail.python.org/mailman/listinfo/python-list