in OR condition which side evaluate first in python?

Viewed 4255
if cpu_expensive_condition() or simple_condition():
        do_something()

out of two condition in OR statement in above python code which will be evaluate first ? , and is it compulsory that both will be evaluate ?

4 Answers
Related