title: How to split integer and sum the splitted integer using python?
body: <p>I have given a task in python language that i should split the given numbers into 2 half and sum each of the 2 half. For example:</p>
  
  <pre><code>input = 1234
  output must be 1 + 2 = 3 and 3 + 4 = 7. means 3 &amp; 7.
  </code></pre>
  
  <p>Explanation: I have to split the given input 1234 to 12 and 34. </p>
  
  <p>and then i have to sum 1 + 2 and 3 + 4. and the final output will be 37.</p>
  
  <p>PS: here is what i tried myself. I am new to python.</p>
  
  <pre><code>#T = int(raw_input())
  #while T &gt; 0 :
  #    input = raw_input()
  #    i = []
  #    i.append(input)
  </code></pre>