GUVI
Back

Test case error

Created 3 years ago
45 Views
1 Comments
Kiransurya
@Kiransurya
Kiransurya
@KiransuryaProfile is locked. Login

while submitting code in codekata it always show test case error.But when in saw the eror the actual output and expected output are the same. so whats the error. Help me out!!

string = input("\n")

sum = 0

for i in string:

sum += ord(i)

print(sum)

program to find the sum of ascii of each character

Comments
Please login to comment.
 
Powered by habitate.io Habitate