Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Задача 2
maxim_shlyahtin
Oct 9th, 2020
138
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.09 KB
| None
|
0
0
raw
download
clone
embed
print
report
n = int(input())
count = 0
while n != 0:
count += n % 10
n //= 10
print(count)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Binance account JC
JavaScript | 1 min ago | 0.06 KB
EARN $900 INSTANTLY 2025 IG
JavaScript | 3 min ago | 0.06 KB
Untitled
PHP | 5 min ago | 0.79 KB
Random Gmail Acc 5B
JavaScript | 5 min ago | 0.06 KB
Make $1000 15-MINUTES (BEGINNER) 46
JavaScript | 7 min ago | 0.06 KB
Binance account JC
JavaScript | 9 min ago | 0.06 KB
Order delivery script
PHP | 10 min ago | 0.79 KB
EARN $900 INSTANTLY 2025 IG
JavaScript | 12 min ago | 0.06 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!