I have a question for the list about the homework rule and the tutoring list.  If you have a question and you&#39;re not asking for your homework or past homework to be done for you but you just have questions to be explained isn&#39;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&#39;t understand it.  I can&#39;t find a tutor.  I&#39;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&#39;t that what tutoring and open forum is all about.  Unfortunately, I still don&#39;t quite have it I feel like I got left hanging on the edge of almost...<br>
<br>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&#39;t taught at NC State.  UNC - the same.  Wake Technical - the same.  I&#39;ve looked on Craig&#39;s list and Googled with no luck  I&#39;m taking an intro to computer science class online through Utica for Cybersecurity and I would just like some help understanding.  I&#39;m not one to easily give up!!<br>
<br>Anyway, I understand having rules and why, but I also think that when those rules don&#39;t make sense under the situation exceptions should be made.  Just saying...<br><br>L.<br><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 10:54 AM, taserian <span dir="ltr">&lt;<a href="mailto:taserian@gmail.com">taserian@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">When replying to the Python Tutor list, please use &quot;Reply All&quot; instead of just &quot;Reply&quot;. I meant to put this in my previous message, but it remained in &quot;meant to&quot; phase and never got implemented properly. 8-)<div class="im">
<br>
<br>
<blockquote style="margin-right: 0px;" dir="ltr">
<div class="gmail_quote">I don&#39;t think it&#39;s been initialized properly, but that&#39;s where I don&#39;t understand about the accumulator for strings.  I originally thought this for the accumulator:</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">output=&quot;&quot;</div>
<div class="gmail_quote">for i in range(len(message[i])&quot; </div></blockquote>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div><br>    print&quot;The value of message[i] is &quot;, message[i]<br></div>    output=output+&quot; &quot; + ord(message[i]) 
<div><br>    print&quot;The value of the message is &quot;, output<br><br></div>but strings and integers don&#39;t concatentate AND my ord(value) isn&#39;t accumulating AND I thing my output is getting overwritten. <br></blockquote>

</div>
<div class="gmail_quote">You don&#39;t want to mix apples and oranges. Your variable &quot;message&quot; contains a full name in the test case, &quot;John X. Doe&quot;, for example, so it&#39;s made up of characters. What should the accumulator contain, if you&#39;re going to be adding numbers? <font color="#3333ff">Numbers</font></div>

</blockquote></blockquote>
<div class="gmail_quote"> </div>
</div><div class="gmail_quote">Then your code above should look something like this:</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">output= 0<br>for i in message:<br>    print&quot;Character i in message: &quot;, message[i]<div class="im"><br>    output=output + ord(message[i]) </div></div><div class="im">
<div class="gmail_quote">print &quot;The value of the message is &quot;, output</div>
<div class="gmail_quote"><br> </div>
</div><div class="gmail_quote">In pseudocode:</div>
<div class="gmail_quote">Start with the value for an empty message in the variable &quot;output&quot;.</div>
<div class="gmail_quote">For every character in &quot;message&quot;:</div>
<div class="gmail_quote">    Print the character</div>
<div class="gmail_quote">    Add the ASCII value of the character to the accumulator &quot;output&quot;.</div>
<div class="gmail_quote">After all of the characters have been processed, show the final value of &quot;output&quot;</div><div class="im">
<div class="gmail_quote"> </div>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div class="gmail_quote">
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div class="gmail_quote">
<div>
<div>
<div> </div></div></div>
<div>Is this homework? <font color="#3333ff">Not anymore  I&#39;m past that and I live in NC and I&#39;ve been desperately looking for a tutor but I&#39;m having difficulty finding anyone who does Python programming.  They don&#39;t teach it at NC State or UNC or Wake Tech.  If you don&#39;t want to help.  I understand.  This was my last resort.</font> <br>

</div></div></blockquote>
<div>
<div></div>
<div>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div class="gmail_quote">
<div> </div></div></blockquote></div></div></div></blockquote>
<div class="gmail_quote"> </div>
</div><div class="gmail_quote">Not at all. It&#39;s just that we have a rule about not doing anyone&#39;s homework on the list. It robs them of the learning experience, and can provide a grade which hasn&#39;t been earned properly.</div>


<div class="gmail_quote"> </div>
<div class="gmail_quote">Tony R.</div>
<div class="gmail_quote"> </div>
</blockquote></div><br>