CAS Community   >   Resources   >  

Solutionbook
Python Solution to Challenges from the posted Book of Programming Challenges (pdf) by Stuart Lucas

Written some python programs as solutions to some challenges from the Book of Programming Challenges posted by Stuart Lucas

Mustapha Khoudi

Created by Mustapha Khoudi
last edited Jul 02 2021 by Mustapha Khoudi



Python programs as solutions to Book of Programming Challenges (pdf) posted by Stuart Lucas which I have enclosed

My intention is to provide a pythonic style (in as much as I am able to:)…) which I believe learners should use right at the beginning of their python journey Learners should be directed to use built in methods, python “batteries” like itertools and even modules from PyPI (The Python Package Index)

What is included:

  • Solutions to challenges 3, 9, 11, 12, 15, 26, 27
  • Extentions (explained in the docstring of the programs (at the top)) to challenges 12 and 15
  • Further Detailed Explanation (pdf) of the challenges, in particular I have suggested an activity for challenge 26 which I think will help learners inform the design of their algorithm prior to coding it.
hope this will be helpful
Downloaded 388 times.

Download

This resource has attached files: to access these files, please tick the box below to assent to the license terms
License: The resources on CAS website are under Creative Commons Attribution-Share Alike 3.0 licence unless otherwise specified by the resource creators.

You must confirm that you have read and agree the licence's ToS before you can download the attachments of this resource.

I have read the licence agreement of this resource and agree to abide by its terms and conditions.

Feedback and Comments


Available when logged in (join via the front page, for free):
  • View 5 comments on this resource.
  • View resource history, links to related resources.
  • Leave feedback for the author(s), or help by editing the resource.
Categories:


© 2021 BCS, The Chartered Institute for IT Registered charity: No. 292786
Using the websiteDisclaimer of liabilityCookies policyPrivacy notice