pager:
input:
abde(1+2+4+5)
output:
12
XYZ
75
s = input("Input: ") temps = s.lower() sum = 0 for i in range(len(s)): sum = sum + (ord(temps[i])-96) print("Output:") print(sum)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment