Constants:
A term is called a constant term if it does not contain any literal (variable).
Variables:
A variable is a quantity that may change within the context of a mathematical problem or experiment.
Given list of terms:
6,4y,−3x,54,45xy,az,7p,0,9xy,34x,−xz3y
On observing the given list we find that 6,54,0 are constant terms and 4y,−3x,45xy,a,7y,9xy,34x,−xzxy are variables.