for ex.
lst = [2,'j','K','o',6,'x',5,'A',3.2]
I want 3 lists in the form
numbers = [2, 3.2, 5, 6],
uppercase = ['A', 'K'],
lowercase = ['j', 'o', 'x']
I wish to change them into a dictionary of the form
{'numbers': [2, 3.2, 5, 6],
'uppercase': ['A', 'K'],
'lowercase': ['j', 'o', 'x']
how can I achieve this? any help will be appreciated