Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Задача 2
maxim_shlyahtin
Oct 9th, 2020
129
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
Amazon Gift-cardSS LEAKED TSUY
JavaScript | 1 sec ago | 0.11 KB
⭐ get any VOUCHER for FREEE
JavaScript | 2 sec ago | 0.08 KB
⭐ 𝐹𝑅𝐸𝐸 500 𝒢𝐼𝐹𝒯-𝒞𝒜𝑅𝒟 𝒢𝒰𝐼𝒟𝐸
JavaScript | 3 sec ago | 0.08 KB
⭐ 𝐹𝑅𝐸𝐸 500 𝒢𝐼𝐹𝒯-𝒞𝒜𝑅𝒟 𝒢𝒰𝐼𝒟𝐸
JavaScript | 5 sec ago | 0.08 KB
Nord Vpn 5TKT
JavaScript | 6 sec ago | 0.11 KB
⭐ 𝐹𝑅𝐸𝐸 500 𝒢𝐼𝐹𝒯-𝒞𝒜𝑅𝒟 𝒢𝒰𝐼𝒟𝐸 1NH6
JavaScript | 6 sec ago | 0.11 KB
⭐ get any VOUCHER for FREEE
JavaScript | 7 sec ago | 0.08 KB
𝐹𝑅𝐸𝐸 500 𝒢𝐼𝐹𝒯-𝒞𝒜𝑅𝒟 𝒢𝒰𝐼𝒟𝐸𝒮 4VTG
JavaScript | 7 sec ago | 0.11 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!