¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Sin título

Alicia Bowers Inglés 1 página

Contenido del apunte (1)

Página 1

Boolean Control Flow Review:

Boolean expressions are statements that can be either True or False

A boolean variable is a variable that is set to either True or False.

We can create boolean expressions using relational operators:

==: Equals

!=: Not equals

>: Greater than

>=: Greater than or equal to

<: Less than

<=: Less than or equal to

if statements can be used to create control flow in your code.

else statements can be used to execute code when the conditions of an if statement are not met.

elif statements can be used to build additional checks into your if statements

In Python, there are many different ways of classifying errors, but here are some common ones:

SyntaxError: Error caused by not following the proper structure (syntax) of the language.

NameError: Errors reported when the interpreter detects a variable that is unknown.

TypeError: Errors thrown when an operation is applied to an object of an inappropriate type.

Información

Descripción
Apunte sobre Sin título, creado por Alicia Bowers el 10/07/2023.
Creado por
Alicia Bowers · jul 2023
Actualizado
11 jul 2023
Visitas
1
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?