Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # #//////////////////////////// PROBLEM STATEMENT //////////////////////////////
- # # Given three ints, a b c, print True if one of b or c is "close" //
- # # (differing from a by at most 1), while the other is "far", differing //
- # # from both other values by 2 or more. //
- # # //
- # # 1 2 10 -> True //
- # # 1 2 3 -> False //
- # # 4 1 3 -> True //
- # #/////////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement