In this tutorial I'm going to talk to you about the logical operators within Python.
在本教程中,我将向您介绍 Python 中的逻辑运算符。
单词 | logical operators |
例句 |
原声例句
Mosh带你学编程 In this tutorial I'm going to talk to you about the logical operators within Python. 在本教程中,我将向您介绍 Python 中的逻辑运算符。 PKM OS Then there are like these logical operators that you can use to do some sort of conditionals. 然后,您可以使用类似的逻辑运算符来执行某种条件。 Mosh带你学编程 And we'll end up with two conditions, one that's true and the other is false. And that's why this message is not printed. So this is all about the logical operators in python. 我们最终会得到两个条件,一个为真,另一个为假。这就是为什么不打印此消息的原因。所以这就是关于 python 中的逻辑运算符的全部内容。 Mosh带你学编程 We use this operator to combine two conditions, and by the way this is not specific to python programming language, pretty much any programming language that supports if statements also supports the logical operators. 我们使用这个运算符来组合两个条件,顺便说一下,这并不是 python 编程语言特有的,几乎所有支持 if 语句的编程语言也支持逻辑运算符。 |
随便看 |
英语例句辞典收录519880条英汉例句词条,基本涵盖了全部常用单词的造句方法及例句,是英语学习的有利工具。