forked from tdwojak/Python2017
update test task
Signed-off-by: s45167 <krzysztof.spalinski@op.pl>
This commit is contained in:
parent
de31149741
commit
935a758977
@ -6,6 +6,7 @@ Napisz funkcję char_sum, która dla zadanego łańcucha zwraca
|
||||
sumę kodów ASCII znaków.
|
||||
"""
|
||||
def char_sum(text):
|
||||
return sum(ord(i) for i in text)
|
||||
pass
|
||||
|
||||
def tests(f):
|
||||
|
Loading…
Reference in New Issue
Block a user