Code Monkey home page Code Monkey logo

pythonproblems's Introduction

109 Python Problems for CCPS 109

Most of the coding problem collections that you can find online tend to feature nine garbage problems for every decent problem. This is not one of those collections. This problem collection features only educational and interesting problems that have actual value and are not made-up make-work nonsense. I am ready to stand fully behind every problem with this claim, ready to be judged by any of these problems by my worst enemy. Every problem here comes with my personal guarantee of being worthwhile, educational, fun and interesting for learners of all levels.

Beginner Python coders can watch the video Solving 109 Python Problems for CCPS 109 on YouTube for a demonstration of how to solve these problems and use the automated tester.

This collection features Python problems suitable for university level computer science majors from the first freshman introductory course all the way to senior level courses on algorithms, as taught by Ilkka Kokkarinen for the Chang School of Continuing Education, Toronto Metropolitan University, Toronto, Canada. The lecture material and example Python programs of that introductory Python course are also freely available in the GitHub repository ikokkari/PythonExamples.

The specifications for all these lab problems are collected in the file 109 Python Problems.pdf. Another set of problems was collected to the document Additional Python Problems.pdf, currently holding another 123 problems in addition to the original problem collection. A third set is currently being collected to the ongoing document Third Python Problem Collection.pdf All three collections use the same automated tester script tester109.py to verify the correctness of student solutions.

These problems are suitable for students who have already completed some introductory collection of finger practice exercises on Python language basics, such as CodingBat Python. The author also has a similar collection of Java problems suitable for a second course on object oriented programming in Java and the first course on data structures and algorithms. Everyone teaching or learning Python is welcome to use, adapt and distribute these problems and the associated acceptance tester for their own purposes as they see fit.

A bounty for each bonus problem is available to the first person to solve that problem. The file bounty.md contains more information.

Obfuscated model solutions are available in the file obfuscated.txt, to give students the idea of the length and general complexity of the instructor's private solutions.

The lab specification document and the automated tester software tester109.py are released under the GNU General Public License v3, with no warranties implied by the author.

Wordlist words_sorted.txt adapted from dwyl/english-words.

The author welcomes feedback by email at [email protected] from computer science instructors who use these problems in their courses. There is room for all races on Earth to live, prosper and get strong at coding by solving the 109 Python Problems.

pythonproblems's People

Contributors

ikokkari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pythonproblems's Issues

Issue with All Branches Lead to Rome

In the instructions for this question, a strict ban on entering tabu lattice grid locations exists. The objective it to get to location (0, 0). Therefore, if (0, 0) is included in the tabu location list, entering it should be impossible (return 0).

Instead, because of the order of returns given in the suggested solution, the tester allows the program to move into this space even when it is on the tabu list. At least one test case gave me a "wrong solution" for returning 0 when (0, 0) was on the tabu list.

Note: Please do not fix this before grading my assignment! I'm handing it in now, and it passes the tests at they exist at this point in time.

is it a bug or i'v been careless about question

ARGUMENTS: [1, 2, 3]
EXPECTED: False
RETURNED: True

This is for the problem with function -> is_ascending(items)

The question is Ascending list

Well if its not ascending then what is it ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.