PYTHON – NameError when calling return value from function (out of order?) Per the code below, I’m getting this error: