What are instance variables and local variables, and where are they stored in memory?
Given a class definition and a sequence of operations, classify each referenced variable as instance or local, and identify whether it is stored with the object instance or on the call stack for the current function call.
classify_variables(operations)
operations is a list of dictionaries describing assignments and reads inside a class method. Return a list of strings in the same order, where each string is one of: "instance:object", "local:stack", or "unknown".
def classify_variables(operations):