Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- first = int(input())
- second = int(input())
- point = int(input())
- print("in" if first >= point >= second or first <= point <= second else "out")
- print(min(abs(first - point), abs(second - point)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement