test1
This commit is contained in:
10
operators_3.py
Normal file
10
operators_3.py
Normal 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("Вася не сможет высунуть голову")
|
||||
Reference in New Issue
Block a user