📌  相关文章
📜  当我们在 python 代码示例中的列表之前应用 * 时会发生什么

📅  最后修改于: 2022-03-11 14:45:58.853000             🧑  作者: Mango

代码示例1
Asterisks for unpacking into function call
That print(*fruits) line is passing all of the
items in the fruits list into the print 
function call as separate arguments, without 
us even needing to know how many arguments are in the list.
... Both * and ** can be used multiple times in function calls