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

10
operators_3.py Normal file
View File

@@ -0,0 +1,10 @@
a = int(input("Введите ширину форточки (см): "))
b = int(input("Введите высоту форточки (см): "))
d = int(input("Введите диаметр головы (см): "))
required_size = d + 2
if a >= required_size and b >= required_size:
print("Вася сможет высунуть голову")
else:
print("Вася не сможет высунуть голову")