14 lines
205 B
Python
Executable File
14 lines
205 B
Python
Executable File
r1 = 2
|
|
r2 = 1
|
|
pi = 3,14
|
|
|
|
|
|
while True:
|
|
x = float(input())
|
|
y = float(input())
|
|
|
|
if x**2+y**2<=r1**2 and x**2+y**2>=r2**2 and (x >= 0 or y >= 0):
|
|
print("yes")
|
|
else:
|
|
print("no")
|