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