title: Adding ASCII Values together. Jython/Python
body: <p>I need to get the word "COMPUTER". Convert each letter to its corresponding ASCII value (using For Loop). Then add the individual ASCII values together to get a sum. </p>
  
  <p>I am entering "COMPUTER" as a parameter for 'text' when I launch the program.</p>
  
  <p>So think COMPUTER = text</p>
  
  <p>What i have so far:</p>
  
  <pre><code>def addASCIIValues(text):
    for char in text:
      AsciiArray = ord(char)
      print AsciiArray
  </code></pre>
  
  <hr>
  
  <ol>
  <li>Text is entered as 'COMPUTER'</li>
  <li>for every character in "COMPUTER"</li>
  <li>Convert every character to its ASCII Value</li>
  <li>Add the values together</li>
  <li>Receive a total SUM</li>
  <li>Print sum</li>
  </ol>
  
  <p>Please use simple code with no import functions.</p>
  
  <p>I am using Jython but python responses would be ok aswell!</p>