In this tutorial I'm going to talk to you about the logical operators within Python.
在本教程中,我将向您介绍 Python 中的逻辑运算符。
单词 | Logical operators |
释义 |
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 语句的编程语言也支持逻辑运算符。
中文百科
逻辑运算符 Logical connective(重定向自Logical operators)
![]() ![]() 在形式逻辑中,逻辑运算符或逻辑联结词把语句连接成更复杂的复杂语句。例如,假设有两个逻辑命题,分别是“正在下雨”和“我在屋里”,我们可以将它们组成复杂命题“正在下雨,并且我在屋里”或“没有正在下雨”或“如果正在下雨,那幺我在屋里”。一个将两个语句组成的新的语句或命题叫做复合语句或复合命题。
英语百科
Logical connective 逻辑运算符(重定向自Logical operators)
In logic, a logical connective (also called a logical operator) is a symbol or word used to connect two or more sentences (of either a formal or a natural language) in a grammatically valid way, such that the sense of the compound sentence produced depends only on the original sentences. |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。