Most elegant and Best solution for the following task
- Status: Closed
- Prize: £20
- Entries Received: 1
- Winner: neilkakkar
Contest Brief
This is a SAMPLE (so not a live) task provided by an English exam board for 14/15 year olds. I would be interested in awarding the sum for the best solution. By that I mean, the most efficient and the most elegant coding. Classes/Numpy/Pandas MUST NOT be used - a very simple solution using the most basic of skills and functions/modular programming is what we are after. The choice of PythonCarrot will be final! This initial contest is with a view to scouting for talent and the chosen candidate will have the opportunity to be enlisted for plenty of additional opportunities
The task is here: http://www.ocr.org.uk/Images/266758-unit-j276-03-programming-project-task-3-sample-non-exam-assessment.pdf
KEY POINTS and CONSIDERATIONS for AWARD.
1. Please use Python 3 only
2. No graphics - purely a text /console based solution (so no Tkinter, Pygame, etc)
3. The Matrix should be generated on the screen
4. The obstacles and other messages, as mentioned in the task, are loaded from a simple txt file only (csv reader can however, be used)
5. ONLY FUNCTIONS. Please do NOT submit a class based solution.
6. No use of pandas or numpy. The solution should be using the most basic of tools and skills that are taught at secondary school.
*This is a very simple task for which we already have a solution. We're interested however, in alternative solutions and more elegant code.
Recommended Skills
Employer Feedback
“Neilkakkar is a genius! Produced a fantastic piece of Python Code that perfectly met the specification. Made changes and edits as requested as well and was a pleasure to work with. Highly recommended and will most certainly hire again. ”
pythoncarrot, United Kingdom.
Public Clarification Board
How to get started with contests
-
Post Your Contest Quick and easy
-
Get Tons of Entries From around the world
-
Award the best entry Download the files - Easy!