我已经编写了一个代码来打印名称的id和list的元素。print(f"The id of the name of the list is = {id(sample_list)}") print(f"Id of element index {i} is {id(sample_list[i])}")The id of the name of the list is = 2874211984576
Id of ele
我正在更改python代码,其中python代码中声明的设置的值是从json文件中读取的,主要问题之一是设置值之一是字符串数组"list_of_names": {"names"["Peter", "James"]} and i´m trying not to declare any value so it will be: "list_of_names": {[]}
当我在