Дамп всех задач

This commit is contained in:
2017-05-22 13:29:43 +03:00
parent b970626fef
commit 93746b05d7
173 changed files with 2505 additions and 0 deletions

7
olymp2017/4.py Normal file
View File

@@ -0,0 +1,7 @@
def fun(s):
sum = 0
ff = len(s)
for i in range(ff):
sum += int(s[i])
return sum
print(fun(str(input())))