Could be ints, could be floats, could be a combination of things, some ints, some floats, some lists, some strings, some lists of lists, whatever.
但是我们知道数组内部的元素,可以是任何对象,可能是整数也可能是浮点数,也可能是对象的组合,一些整数。
Now, you might have said, gee, why didn't it just assume that I wanted to in fact treat these as strings, and combine them together?
现在,你们可能会认为,伊,为什么Python不假设,我实际上想把这些对象当做字符串一样对待,然后把它们组合到一起呢?
应用推荐