This commit is contained in:
2025-12-11 18:06:09 +05:00
parent bfa7413f9c
commit e98dd2f107
35 changed files with 0 additions and 0 deletions

15
operators_5.py Normal file
View File

@@ -0,0 +1,15 @@
x = int(input("Введите координату x: "))
y = int(input("Введите координату y: "))
if x > 0:
if y > 0:
quarter = 1
else:
quarter = 4
else:
if y > 0:
quarter = 2
else:
quarter = 3
print(f"Точка принадлежит {quarter}-й четверти")