Challenge-week 4: Groups of solutions, starts today!

dn PythonList at DancesWithMice.info
Thu Nov 3 20:27:33 EDT 2022


A virtual event run by the Auckland Branch of the New Zealand Python 
Users' Group. Details from the Meetup site: 
https://www.meetup.com/nzpug-auckland/events/289531194/ where you may 
also sign-up.


It's Week 4 of the Smart Iterator Challenge! We've looked at taking our 
early results and generalising them to suit various solutions. The next 
view is how a range of similar solutions might be grouped - and 
re-shaped to enable us to re-use and share code.

We commence with a review of Challenge-week 3 and sample-code to 
download and compare with your own efforts. This time there is no 
tutorial-content. Even the provided testing/proofs are rather sparse - 
and really only there to make sure you're on-the-right-track. In many 
ways, the challenge is not so much writing code, as it is designing 
code-solutions. Putting code-modules together, and then pulling them 
apart to satisfy groups of solutions. Ooh mysterious!


This Challenge will interest Python-Journeymen, and Python-Apprentices 
ready to move-on from ‘the basics’. As usual, there are "Extra Credit" 
challenges which will 'push' Python-Masters and advanced Journeymen.

It's not a requirement that you have completed the previous challenges - 
but they will help. Challenge-week 4 starts with either your own or a 
provided template-script. So, you don't have to have completed 
Challenge-weeks 1, 2, and 3 (but it would help - there's nothing to stop 
you from 'catching up' and gaining full benefit from the exercise). 
There's some 'template code' which will enable starting from this week.


Challenge Schedule: Groups of solutions
Starting: Sat 5 Nov
Office Hours: 1830*, Wed 9 Nov
Concluding: midnight after Sun 13 Nov
* all times NZDT (UTC+13)


Are you up for a challenge?
Regards =dn (for Pete and DJ)


More information about the Python-list mailing list