[Tutor] Checksum program
taserian at gmail.com
Wed Mar 23 17:26:01 CET 2011
On Wed, Mar 23, 2011 at 11:11 AM, Lezlie Kline <lezlie.kline at gmail.com>wrote:
> I have a question for the list about the homework rule and the tutoring
> list. If you have a question and you're not asking for your homework or
> past homework to be done for you but you just have questions to be explained
> isn't that what tutoring and learning is all about. For example, on my
> question here. I have a problem that is not homework for a grade and I
> don't understand it. I can't find a tutor. I'm frustrated and you guys can
> provide help for my understanding which you were doing. Not by giving me an
> answer, but by asking me questions and helping me to understand. Isn't that
> what tutoring and open forum is all about. Unfortunately, I still don't
> quite have it I feel like I got left hanging on the edge of almost...
I tend to err on the side of caution and try not to give away too much, just
so that the student achieves more by themselves than by giving them the
answer outright. What's the quandary on that "edge of almost"?
> I called the Dean of Graduate students at NC State to try to find someone
> to tutor me and the response was helpful but Python isn't taught at NC
> State. UNC - the same. Wake Technical - the same. I've looked on Craig's
> list and Googled with no luck I'm taking an intro to computer science class
> online through Utica for Cybersecurity and I would just like some help
> understanding. I'm not one to easily give up!!
> Anyway, I understand having rules and why, but I also think that when those
> rules don't make sense under the situation exceptions should be made. Just
Have you tried any of the online Python tutorials?
Even though Python has been around long enough, it isn't taught formally in
as many institutions as we'd like. I'd venture to guess that most of the
Python experts on this list are self-taught rather than having taken a
formal course. The above links would be great for you if you're up for
learning on your own.
One thing I've found: http://trizpug.org/ , which seems to be a Python group
that meets monthly in the Durham area (not sure how close that is to you).
You might want to subscribe to their mailing list and see if there's anyone
willing to tutor you, if that's more your style; it looks like they have a
meeting tomorrow 3/24/11. I'd contact them and see how welcome they are to
Hoping this helps,
> On Wed, Mar 23, 2011 at 10:54 AM, taserian <taserian at gmail.com> wrote:
>> When replying to the Python Tutor list, please use "Reply All" instead of
>> just "Reply". I meant to put this in my previous message, but it remained in
>> "meant to" phase and never got implemented properly. 8-)
>> I don't think it's been initialized properly, but that's where I don't
>> understand about the accumulator for strings. I originally thought this for
>> the accumulator:
>> for i in range(len(message[i])"
>>>>> print"The value of message[i] is ", message[i]
>>>>> output=output+" " + ord(message[i])
>>>>> print"The value of the message is ", output
>>>>> but strings and integers don't concatentate AND my ord(value) isn't
>>>>> accumulating AND I thing my output is getting overwritten.
>>>> You don't want to mix apples and oranges. Your variable "message"
>>>> contains a full name in the test case, "John X. Doe", for example, so it's
>>>> made up of characters. What should the accumulator contain, if you're going
>>>> to be adding numbers? Numbers
>> Then your code above should look something like this:
>> output= 0
>> for i in message:
>> print"Character i in message: ", message[i]
>> output=output + ord(message[i])
>> print "The value of the message is ", output
>> In pseudocode:
>> Start with the value for an empty message in the variable "output".
>> For every character in "message":
>> Print the character
>> Add the ASCII value of the character to the accumulator "output".
>> After all of the characters have been processed, show the final value of
>>>> Is this homework? Not anymore I'm past that and I live in NC and I've
>>>> been desperately looking for a tutor but I'm having difficulty finding
>>>> anyone who does Python programming. They don't teach it at NC State or UNC
>>>> or Wake Tech. If you don't want to help. I understand. This was my last
>> Not at all. It's just that we have a rule about not doing
>> anyone's homework on the list. It robs them of the learning experience, and
>> can provide a grade which hasn't been earned properly.
>> Tony R.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor