def DD():
aa = "ddcc"
dd = 2
cc = 3
return aa,dd,cc
def get_first_value(fn):
def wrapped():
return fn()[0]
return wrapped
@get_first_value
def DD():
aa = "ddcc"
dd = 2
cc = 3
return aa,dd,cc
first_value = DD()