Please enable JavaScript to use CodeHS

Utah Intro to Python 1 Glossary

Flashcards

Course:

Module:

Lesson:

Search:

If Statement General

An if statement lets you ask a question to the program and only run code if the answer is true.

If Statement

Comparison Operator Python

Used to make comparisons between values.

Infinite Loop General

A loop that has no way of stopping, and will keep looping forever.

While Loop Python

Lets us repeat code as long as something is true.

Break Python

Exits the current loop and resumes execution at the next statement.

Return Python

Exits a function, optionally passing back an expression to the caller. A `return` statement with no arguments is the same as `return None`.