Oct-20-2017, 02:10 PM
(Oct-20-2017, 01:21 PM)metulburr Wrote: B) the responder should tell them that their code is not within their restrictions.
I think this would be the better response. My usual thought is if the instructions do not include an 'import', I try to supply an answer that doesn't require one. The same holds true with functions, classes, comprehensions, etc. Though to be honest, it's also a gut feeling in that in many cases you can tell from the instructions, just how advanced the student is their studies. If it is ambiguous, I try to keep it basic and then as you say, add something like "If you can use this ..., try this"
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition