as I recall and with Wikipedia’s help:
In computer programming, a temporary variable is a variable with short lifetime, usually to hold data that will soon be discarded, or before it can be placed at a more permanent memory location. Because it is short-lived, it is usually declared as a local variable , i.e., a variable with local scope.
in lessons the variable used in
for <var> in ... is called a temporary variable while it can be used after for loop is finished with its last value.
Is this a mistake in lessons or am I getting it wrong?