Skip to content
UPEEC

Math Helpers

sum, min, max, abs, round, pow, divmod, any and all.

Beginner
Comments 0

This is an overview — pick a sub-topic below.

Sub-topics (3)

abs() and round()

Absolute value, and rounding to a number of digits (round-half-to-even!).

Beginner♥ 0🔖 0💬 0

any() and all()

any is True if at least one item is truthy; all is True if every item is (True for empty).

Beginner♥ 0🔖 0💬 0

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.