GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

Ohne Titel

Alicia Bowers Englisch 1 Seite

Inhalt der Notizen (1)

Seite 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.

Informationen

Beschreibung
Notiz am Ohne Titel, erstellt von Alicia Bowers am 10/07/2023.
Erstellt von
Alicia Bowers
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck