Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def func(x, y):
- return (x <= 1) and (x >= -1) and (y <= 1) and (y >= -1)
- x = int(input())
- y = int(input())
- if func(x, y):
- print('yes')
- else:
- print('no')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement