recursion fig scopes within simple program enclosing scope if python does not find the reference id within the local scopeit will examine the enclosing scope to see if it can find id there in the program in fig while python is executing the statement on line the enclosing scope is the purple region of the program the identifiers defined in this enclosing scope include historyofpromptshistoryofoutputrstringrvalgetinputand showinput notice that function names are included as identifiers againpython looks for the identifier using the same this copy belongs to 'acha