1/22
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Variable
A name that refers to a value stored in memory.
Data Type
The kind of value a variable holds, such as integers, floats, strings, and booleans.
Function
A block of code that performs a specific task and can be reused.
Iteration
The repeated execution of a block of code, typically using a loop.
Conditional statement
Code that executes based on whether a condition is true or false.
List
An ordered collection of items that can be of different data types.
Dictionary
A collection of key-value pairs, where each key is unique.
Tuple
An unordered collection of unique items.
Set
An unordered collection of unique items.
String
A sequence of characters
Module
A file containing Python code that can be imported and used in other programs.
Class
A blueprint for creating objects, defining their properties and behaviors
Object
An instance of a class
Library
A collection of modules and functions that provide additional functionality. Python Terms Reference Sheet
Boolean
A data type with only two possible values: True or False. Often used in conditional statements.
Index
The position of an item in an ordered collection like a list, string, or tuple. Indexing starts at 0.
Slice
A way to retrieve a subset of a sequence using syntax like sequence[start:stop:step].
Comment
Text in code preceded by # that is ignored by the interpreter; used for explanations.
Import
A statement used to include external modules or libraries in your code
Indentation
The whitespace at the beginning of lines that defines code blocks in Python
Argument
A value provided to a function when it is called.
Return
A statement used in a function to send back a result
Type Casting
Converting a value from one data type to another, like str to int.