operand

A value an operator works on, such as 7 and 2 in 7 - 2.

In more detail

The types of the operands decide what an operator does: + on two numbers adds, on two strings joins, and on a number and a string raises TypeError. With // and %, negative operands give results that surprise people used to other languages.

Related terms

Taught in

References

Certification courses