Home > Database > Mysql Tutorial > body text

sirius's study notes (2)

黄舟
Release: 2016-12-20 16:51:29
Original
996 people have browsed it

if both values ​​of in a or exPRession are true ,Python will select the first one, and the second one in the and expression. for example:

result = (2 or 3) * (4 and 5)

print result

output 10

The above is the content of Sirius’s study notes (2). For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!