Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. def func(x, y):
  2.     return (x <= 1) and (x >= -1) and (y <= 1) and (y >= -1)
  3.  
  4.  
  5. x = int(input())
  6. y = int(input())
  7. if func(x, y):
  8.     print('yes')
  9. else:
  10.     print('no')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement