What is the output of the following code? def bind(func): func.data = 9 return func @bind def add(x, y): return x + y print(add(3, 10)) print(add.data)
Questions & Answers › Category: Programming Language › What is the output of the following code? def bind(func): func.data = 9 return func @bind def add(x, y): return x + y print(add(3, 10)) print(add.data)