SHARE
TWEET

Untitled

a guest Feb 23rd, 2020 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. number = int(input("Введите трехзначное число: "))
  2.  
  3. a = number % 10
  4. b = number % 100
  5. c = b // 10
  6.  
  7. print("Последняя цифра:", a)
  8. print("Средняя цифра:", c)
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. OK, I Understand
Top