forked from tdwojak/Python2017
Done
Signed-off-by: s45167 <krzysztof.spalinski@op.pl>
This commit is contained in:
parent
ea19806c20
commit
90e7b49f9e
@ -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"]]
|
||||||
|
Loading…
Reference in New Issue
Block a user