Files
operators/operators_3.py
2025-12-11 18:06:09 +05:00

11 lines
425 B
Python

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