[Tutor] Fw: Traceback
dyoo at hashcollision.org
Thu Nov 20 04:01:11 CET 2014
> On Nov 19, 2014 6:21 PM, "Danny Yoo" <dyoo at hashcollision.org> wrote:
>> > Exercise 1
>> > Write a compare function that returns 1 if x > y, 0 if x == y, and
>> > -1 if x < y.
>> > I have to get back to work so hopefully others on the mailing list can
>> > help you. Please continue to reply to the list.
>> Following up. I don't think I've heard back about this. Did you get
>> help from someone else? Has the problem here been resolved?
> No I am still stuck on what to do and this is a major project for my class.
Ok. From the conversation on this thread, I think that you are
confused on the following subject: on how to write functions that
return useful values.
I think that you are getting too fixated on being busy on your
project, to the detriment of actually making progress. I don't think
you've learned some basic skills that are necessary to do your project
work yet. In particular, although I think you've been exposed to
functions that consume inputs, I do not think you know how to write
functions that return results.
I am basing this judgement based on the questions you've been asking
so far, and based on how you responded to my last few messages. It
seemed like you were trying very hard to avoid attempting to answer my
request to write a function for Exercise 1, and you seem to be jumping
from problem to problem without actually finishing one.
Do you agree with this assessment, or is there something I've missed?
If my evaluation is correct, then I strongly suggest you ask your
instructor for supplementary help. You can also feel free to ask
folks on the mailing list on how to learn and practice write functions
that consume and produce useful values. We'll be happy to help. I
If I have misread the situation, I apologize for the presumption.
More information about the Tutor