result= A+B*2 < 10 or B ==2 true or false python code example
Example: if statements with true or false statements in python 3
temperature = float(input('What is the temperature? '))
if temperature > 70:
print('Wear shorts.')
else:
print('Wear long pants.')
print('Get some exercise outside.')