Please enable JavaScript to use CodeHS

Python Glossary

Flashcards

Course:

Module:

Lesson:

Search:

Variable General

A symbol or container that holds a value.

variable

Scope General

In what part of the program the variable exits

Scope

Local variable General

A variable that is restricted to use in a certain scope of a program

Local variable

Function Python

A function is like a command that you get to invent and name. It allows us to break our program into smaller parts, making the program easier to understand.

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

Exceptions Python

Runtime errors in a program. by default, they stop the program.

Try and Except Python

Programming constructs that can be used to gracefully handle exceptions so that a program can continue in spite of them.

Parameters Python

Pieces of information you can give to functions when you define them. When the function is called the arguments are the data you pass into the function's parameters. Parameter is the variable in the declaration of the function. Argument is the actual value of this variable that gets passed to the function.

Application Programming Interfaces Java

APIs and libraries simplify complex programming tasks by providing sets of clearly defined methods of communication among various computing components.