编辑器
def my_function(fruits): for fruit in fruits: print(fruit) my_fruits = ["apple", "banana", "cherry"] my_function(my_fruits)
apple
banana
cherry