If you want [{'name': 'None', 'age':20, 'dead':'NO'}]
then try:
data_dict = {'name': 'None', 'age':20, 'dead':'NO'}
data_list =[data_dict]
7
solved How to insert a dictionary inside list [closed]
If you want [{'name': 'None', 'age':20, 'dead':'NO'}]
then try:
data_dict = {'name': 'None', 'age':20, 'dead':'NO'}
data_list =[data_dict]
7
solved How to insert a dictionary inside list [closed]