'''
演示eval()的使用
'''
str1 = '["aa", "bb", "cc", "dd"]'
lt = eval(str1)
print(lt, type(lt))
# print(list(str1))
str2 = '{"name":"tom", "age":18}'
dic1 = eval(str2)
print(dic1, type(dic1))
10-04
1022
'''
演示eval()的使用
'''
str1 = '["aa", "bb", "cc", "dd"]'
lt = eval(str1)
print(lt, type(lt))
# print(list(str1))
str2 = '{"name":"tom", "age":18}'
dic1 = eval(str2)
print(dic1, type(dic1))