Card 1 of 27
Question
What is a parameter?
tap to flip
Answer
A named variable in the subroutine definition that receives a value when the subroutine is called. e.g. in `def add(a, b):`, both `a` and `b` are parameters.
Question
What is a parameter?
tap to flip
Answer
A named variable in the subroutine definition that receives a value when the subroutine is called. e.g. in `def add(a, b):`, both `a` and `b` are parameters.