# Python CodeRecipe|notの使い方

Home Python Keywords

# notの例1

Return True if the statement is not True:

    x = Falseprint(not x)

# notの定義及び使い方

not関数は論理演算子です。 戻り値は、 文がTrueでない場合、次のようになります。 はFalseを返します。

Related Pages The keywords or, and and are also logical operators. Read more about operators in our Python Operators Tutorial.

Home Python Keywords