.. include:: Boolean Expressions =================== .. contents:: :local: .. jf-exercise:: python.basics.exercises.boolean :dependencies: python.basics.python_0160_boolean #. What is the value of the following expression? .. code-block:: python (value1 > 500) or (value2 < 800) and not (value3 == 400) Assuming that the variables used have the following values: #. * ``value1 = 501`` * ``value2 = 799`` * ``value3 = 400`` #. * ``value1 = 500`` * ``value2 = 800`` * ``value3 = 0`` Dependencies ------------ .. jf-topicgraph:: :entries: python.basics.exercises.boolean