Python Programming Fundamentals: Functions, Operators, and Expressions

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/13

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards defining fundamental programming concepts, libraries, operators, and control structures in Python.

Last updated 1:03 AM on 10/13/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

14 Terms

1
New cards

Math Functions

Specialized functions contained in the math library (imported via import math) used for advanced calculations such as square roots, trigonometric functions, and rounding.

2
New cards

Random Library

A built-in Python module (import random) providing tools for pseudo-random number generation, random choices, and shuffling sequences.

3
New cards

Format Specifiers

Control directives used inside f-strings or format strings to specify field width, text alignment, decimal precision, and numeric type display (e.g., f"{val:.2f}").

4
New cards

Reference

An abstraction where a variable stores the memory address pointing to an object rather than containing the raw data directly.

5
New cards

Relational Operators

Operators (==, !=,

6
New cards

Boolean Expression

Any logical expression that evaluates to a single Boolean value (True or False).

7
New cards

if-else Statements

A dual-branch selection structure that executes one code block if a Boolean expression is True and an alternative else block if it is False.

8
New cards

Logical Operators

Operators (and, or, not) used to combine or negate Boolean expressions according to formal truth table rules.

9
New cards

Operator Precedence & Associativity

Rules governing the execution order of operators in complex expressions. Precedence sets operator priority, while associativity determines left-to-right or right-to-left evaluation order.

10
New cards

A

65

11
New cards

a

97

12
New cards

<

Left aligned

13
New cards

>

Right aligned

14
New cards