could use some help with this problem! (Posting On Python-List Prohibited)
Ben Bacarisse
ben.usenet at bsb.me.uk
Tue Feb 20 19:59:23 EST 2018
Lawrence D’Oliveiro <lawrencedo99 at gmail.com> writes:
> On Wednesday, February 21, 2018 at 3:10:25 AM UTC+13, Ben Bacarisse wrote:
>> You almost never /have/ to use nested loops. Has the course got this
>> far without introducing the idea of a function?
>
> If you are using a function to avoid a nested loop, perhaps that’s not
> such a smart use of a function...
Agreed. And yet it /might/ be a smart use of one. Nothing about simply
avoiding a loop is sufficient to make the assessment.
--
Ben.
More information about the Python-list
mailing list