Forezz

ДЗ 5 Н 1

Jul 11th, 2019
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. # _*_ coding: utf-8 _*_
  2. x = input()
  3. count = 0
  4. for i in range (6):
  5.         s = int(x[i])
  6.         count += s
  7. print (count)
Advertisement
Add Comment
Please, Sign In to add comment