I have sample code
a=10
print(recent_variable) -- it should print value of a
b=20
print(recent_variable) -- it should print value of b
c = [10,12]
print(recent_variable) -- it should print value of c
d= somfunc()
print(recent_variable) -- it should print value of d
any possible way of doing this
Intead of writing the python variable name in the print i can just put print(some syntax to show the recent variable)
and it prints it value`