►
Run
x = ['apple', 'banana'] result = vars(x) print(result)
Output