You aren't limited to passing a sequence directly into the constructor; you can also pass a variable that holds a tuple or a string into the list constructor.
您不仅能够将序列直接传递给构造函数,还可以将拥有元组或字符串的变量传递给list 构造函数。
You aren't limited to passing a sequence directly into the constructor; you can also pass a variable that holds a tuple or a string into the list constructor.
您不仅能够将序列直接传递给构造函数,还可以将拥有元组或字符串的变量传递给list 构造函数。
应用推荐