1
0
forked from tdwojak/Python2017
Signed-off-by: s45167 <krzysztof.spalinski@op.pl>
This commit is contained in:
s45167 2017-11-30 23:05:00 +01:00
parent ea19806c20
commit 90e7b49f9e

View File

@ -7,7 +7,7 @@ sumę kodów ASCII znaków.
""" """
def char_sum(text): def char_sum(text):
return sum(ord(i) for i in text) return sum(ord(i) for i in text)
pass ##
def tests(f): def tests(f):
inputs = [["this is a string"], ["this is another string"]] inputs = [["this is a string"], ["this is another string"]]