fork(2) download
  1. a = raw_input() ; b= 0
  2. for i in range(len(a)):
  3. b+= ord(a[i])
  4. print b
  5.  
Success #stdin #stdout 0.08s 10848KB
stdin
abc
stdout
294