SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- n = int(input("Введите трехзначное число: "))
- d1 = n % 10
- n = n // 10
- d2 = n % 10
- n = n // 10
- d3 = n % 10
- n = n // 10
- print("Cумма чисел: ", d1 + d2 + d3)
RAW Paste Data
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.