主页
Python
Python 函数参数
demo_function_arg_list
运行 ❯
×
更改方向
保存代码
更改主题
def my_function(fruits): for fruit in fruits: print(fruit) my_fruits = ["apple", "banana", "cherry"] my_function(my_fruits)
apple
banana
cherry