Ответсообщение недоступно
It returns the last truthy value. In this case, any number that isn't zero is considered a truthy value. However, any falsy value beyond in the sequence causes the conditional expression to return that falsy value.
For example,
print(False and 5) #gets False
print(0 and 5) #gets 0