Ответ:
import math
a = [float(input("Input x: ")), float(input("Input y: "))]
print(a)
x = a[0]
y = a[1]
y1 = x-1
if abs(x)<=1:
y2 = math.sqrt(1-x**2)
if x>=0 and y>=y1 and y<=1:
print("Yes")
elif x>=0 and x<=1 and y<y1 and abs(y)<=y2:
else:
print("No")
if abs(x)<=1 and abs(y)<=y2:
elif x>=0 and x<=1 and y>=0 and y<=1:
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
import math
a = [float(input("Input x: ")), float(input("Input y: "))]
print(a)
x = a[0]
y = a[1]
y1 = x-1
if abs(x)<=1:
y2 = math.sqrt(1-x**2)
if x>=0 and y>=y1 and y<=1:
print("Yes")
elif x>=0 and x<=1 and y<y1 and abs(y)<=y2:
print("Yes")
else:
print("No")
a = [float(input("Input x: ")), float(input("Input y: "))]
print(a)
x = a[0]
y = a[1]
if abs(x)<=1:
y2 = math.sqrt(1-x**2)
if abs(x)<=1 and abs(y)<=y2:
print("Yes")
elif x>=0 and x<=1 and y>=0 and y<=1:
print("Yes")
else:
print("No")
Объяснение: