python define all variables code example
Example 1: python variable
string = 'string'
integer = 5
boolean = True
Example 2: how to get a list of all variables in memory python
# Use the magic function %who to show all local user defined variables
%who
# Use %whos to show details
%whos