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 listconstructor.
您不仅能够将序列直接传递给构造函数,还可以将拥有元组或字符串的变量传递给 list 构造函数。
3
The only trick here is that I need to output the list of parameters to each constructor or method.