daily pastebin goal
84%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a,b = map(int, raw_input().split())
  2. n = a-b
  3. if n < 0:
  4.     n = n*(-1)
  5. i = n%10
  6. n = n-i
  7. if i == 1:
  8.     print n+2
  9. else:
  10.     print n+1
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