The question is as it is in the 'Title', but for the sake of completeness -
Suppose :
>>> a= 23
>>> h ="Liam Neeson"
>>> k ={'a','b','c'}
Are three variables. Then I do a whole bunch of other stuff. And I want to see what variables I have initialised so far, is there a way to do it? Something that will return
[a,h,k].