def eggs(someParameter): del spam[3] someParameter.insert(3, ' and cats.')
spam = ['apples', 'bananas', 'tofu', 'cats'] eggs(spam) spam =(','.join(spam)) print(spam)
def eggs(someParameter): del spam[3] someParameter.insert(3, ' and cats.') spam = ['apples', 'bananas', 'tofu', 'cats'] eggs(spam) spam =(','.join(spam)) print(spam)