price = int(input('Введите стоимость квартиры: '))
metr = int(input('Введите метраж квартиры: '))
i = 0
if price <= 10 and metr >= 100:
i+= 1
if price <= 7 and metr >= 80:
i += 1
if i == 1:
print('Параметр подходит')
else:
print('Параметр не подходит')
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter