Logical operators, Used to perform operations on Boolean values (True or False) or expressions, AND, This operator returns True if both operands are True, and False otherwise., OR, This operator returns True if at least one of the operands is True, and False if both operands are False., NOT, This operator returns the opposite Boolean value of the operand. If the operand is True, not returns False, and vice versa., Conditional statement, An 'if', 'elif' or 'else' statement, Condition, An expression that returns a value True or False, eg number > 0, Complex conditional statment, An 'if', 'elif' or 'else' statement containing more than one condition, eg if age >=18 and NOT(insane): canVote = True.

Ranking

Estilo visual

Opções

Alterar modelo

)
Restaurar arquivo salvo automaticamente: ?