很多情况下,不同种类的序列(字符串、列表和元组)是可以交换使用的。那么该如何选择用哪种序列呢?
In many contexts, the different kinds of sequences (strings, lists and tuples) can be used interchangeably. So how should you choose one over the others?
当然,很少有 Python 程序员希望使用上面的诸如列表、元组和字典等日益复杂的数据结构。
Of course, few Python programmers want to work with increasingly complex forests of data structures like the lists, tuples, and dictionaries above.
用包含和_ paras列表的元组进行了初始化。
A is initialized with a tuple containing a and a _paras list.
应用推荐