Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
8.2
daniil-vlasenko
Jul 24th, 2019
174
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
def sum_of_digit(a):
res = 0
while a:
res += a % 10
a = a // 10
return res
a = int(input())
print(sum_of_digit(a))
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐⭐⭐Instant Profit Method⭐⭐
Java | 40 sec ago | 0.15 KB
System Management rev_01
Arduino | 1 min ago | 10.90 KB
💎 Free Crypto Method 💎
JavaScript | 1 min ago | 0.24 KB
⭐⭐⭐MAKE $500 IN 15 MIN⭐⭐
Java | 2 min ago | 0.15 KB
💎 INSTANT MONEY EXPLOIT 💎
JavaScript | 3 min ago | 0.24 KB
⭐⭐⭐MAKE $9OO INSTANTLY D A⭐⭐
Java | 3 min ago | 0.15 KB
🔥 EASY PROFIT GUIDE ✅ Working 🔥 ✅🔥
JavaScript | 4 min ago | 0.20 KB
⭐⭐⭐GMAIL Logs (2FA disabled)⭐⭐
Java | 5 min ago | 0.15 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!